increase timeout for OCI operations (#92)
Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
+1
-1
@@ -79927,7 +79927,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
exports.createAttestation = void 0;
|
exports.createAttestation = void 0;
|
||||||
const attest_1 = __nccwpck_require__(74113);
|
const attest_1 = __nccwpck_require__(74113);
|
||||||
const oci_1 = __nccwpck_require__(47353);
|
const oci_1 = __nccwpck_require__(47353);
|
||||||
const OCI_TIMEOUT = 2000;
|
const OCI_TIMEOUT = 30000;
|
||||||
const OCI_RETRY = 3;
|
const OCI_RETRY = 3;
|
||||||
const createAttestation = async (subject, predicate, opts) => {
|
const createAttestation = async (subject, predicate, opts) => {
|
||||||
// Sign provenance w/ Sigstore
|
// Sign provenance w/ Sigstore
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import { Attestation, Predicate, Subject, attest } from '@actions/attest'
|
import { Attestation, Predicate, Subject, attest } from '@actions/attest'
|
||||||
import { attachArtifactToImage, getRegistryCredentials } from '@sigstore/oci'
|
import { attachArtifactToImage, getRegistryCredentials } from '@sigstore/oci'
|
||||||
|
|
||||||
const OCI_TIMEOUT = 2000
|
const OCI_TIMEOUT = 30000
|
||||||
const OCI_RETRY = 3
|
const OCI_RETRY = 3
|
||||||
|
|
||||||
export type SigstoreInstance = 'public-good' | 'github'
|
export type SigstoreInstance = 'public-good' | 'github'
|
||||||
|
|||||||
Reference in New Issue
Block a user