Skip to content

Commit 64d26c0

Browse files
committed
Bump the timeout on Cloud Build
1 parent 66246ca commit 64d26c0

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

cloudbuild.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66

77
# Not caching with kaniko due to https://github.com/GoogleContainerTools/kaniko/issues/713
88
steps:
9-
- name: gcr.io/cloud-builders/docker
10-
entrypoint: 'bash'
11-
args:
12-
- -c
13-
- 'docker pull gcr.io/$PROJECT_ID/publish:latest; docker build -t gcr.io/$PROJECT_ID/publish:latest --cache-from gcr.io/$PROJECT_ID/publish:latest --build-arg SHORT_SHA=$SHORT_SHA --build-arg TAG_NAME=$TAG_NAME --build-arg NPM_TOKEN=$(echo $$NPM_TOKEN) . && docker push gcr.io/$PROJECT_ID/publish:latest'
14-
secretEnv: ['NPM_TOKEN']
9+
- name: gcr.io/cloud-builders/docker
10+
entrypoint: 'bash'
11+
args:
12+
- -c
13+
- 'docker pull gcr.io/$PROJECT_ID/publish:latest; docker build -t gcr.io/$PROJECT_ID/publish:latest --cache-from gcr.io/$PROJECT_ID/publish:latest --build-arg SHORT_SHA=$SHORT_SHA --build-arg TAG_NAME=$TAG_NAME --build-arg NPM_TOKEN=$(echo $$NPM_TOKEN) . && docker push gcr.io/$PROJECT_ID/publish:latest'
14+
secretEnv: ['NPM_TOKEN']
1515

1616
secrets:
17-
- kmsKeyName: projects/reactfire/locations/global/keyRings/cloud-build/cryptoKeys/cloud-build
18-
secretEnv:
19-
NPM_TOKEN: CiQADamFn5XzbeNQgzTGST9r3Tp5skWlDbBiWaZljffgEm0yIxYSTQC1QbtmDtScXx1BPE+d3CP9rXvOY+n5J0XRuLTTqN7RaqyipCEqTi7+z1kI6mKyBo2ilsMtOtngNzbOZ8kZeUDA80ISLWrNs0hF8k78
17+
- kmsKeyName: projects/reactfire/locations/global/keyRings/cloud-build/cryptoKeys/cloud-build
18+
secretEnv:
19+
NPM_TOKEN: CiQADamFn5XzbeNQgzTGST9r3Tp5skWlDbBiWaZljffgEm0yIxYSTQC1QbtmDtScXx1BPE+d3CP9rXvOY+n5J0XRuLTTqN7RaqyipCEqTi7+z1kI6mKyBo2ilsMtOtngNzbOZ8kZeUDA80ISLWrNs0hF8k78
20+
21+
timeout: 1800s

0 commit comments

Comments
 (0)