Add timeouts to cloudbuild.yaml
Bug: skia:
Change-Id: Ibe95223343bbb9980bca84c336ac3ef162a13c2a
Reviewed-on: https://skia-review.googlesource.com/139164
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
diff --git a/docker/cloudbuild.yaml b/docker/cloudbuild.yaml
index 47eb232..6cec545 100644
--- a/docker/cloudbuild.yaml
+++ b/docker/cloudbuild.yaml
@@ -12,14 +12,17 @@
# args: ['clone', 'https://github.com/google/skia.git', '.']
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/skia-release:prod', './docker/skia-release']
+ timeout: 7200s
- name: 'gcr.io/skia-public/infra:prod'
dir: '/home/skia/golib/src/go.skia.org/infra/fiddlek'
env:
- 'ROOT=/workspace/__staging'
- 'SKIP_BUILD=1'
args: ['./build_fiddler_release']
+ timeout: 600s
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/fiddler:$COMMIT_SHA', '/workspace/__staging']
+ timeout: 600s
images:
- 'gcr.io/$PROJECT_ID/fiddler:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/skia-release:prod'