aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Joe Gregorio <jcgregorio@google.com>2018-07-23 11:45:23 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-23 18:05:24 +0000
commit6407c3d41d6a8a691ef4af9cfdc2b25114712f46 (patch)
treeffbfd72ca6d7d941e17e2051d44c4b55b6259e59
parente35055f31c7f2a2c7f3c693b9231c44d181ec599 (diff)
Add continuous deploy for skottie and debugger.
Bug: skia: Change-Id: I90ad3445224a529f7b92951be9f43e37b4a063bd Reviewed-on: https://skia-review.googlesource.com/142891 Auto-Submit: Joe Gregorio <jcgregorio@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
-rw-r--r--docker/cloudbuild.yaml32
1 files changed, 27 insertions, 5 deletions
diff --git a/docker/cloudbuild.yaml b/docker/cloudbuild.yaml
index 4735da16f9..6e4305b7c2 100644
--- a/docker/cloudbuild.yaml
+++ b/docker/cloudbuild.yaml
@@ -2,28 +2,50 @@
# Builder: https://cloud.google.com/container-builder/docs/
#
steps:
- # To test locally, first uncomment the last two lines, then submit with:
+ # To test locally, first uncomment the last two lines of this comment block, then submit with:
#
# gcloud container builds submit --config cloudbuild.yaml --no-source --substitutions=COMMIT_SHA=e01683e81de03caf5a2f9a23a5ae9f644908b56f
#
# Where COMMIT_SHA is updated to the last commit into Skia.
#
- # - name: 'gcr.io/cloud-builders/git'
- # args: ['clone', 'https://github.com/google/skia.git', '.']
+ # - name: 'gcr.io/cloud-builders/git'
+ # 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'
+ - 'ROOT=/workspace/__fiddler_staging'
- 'SKIP_BUILD=1'
args: ['./build_fiddler_release']
timeout: 600s
+ - name: 'gcr.io/skia-public/infra:prod'
+ dir: '/home/skia/golib/src/go.skia.org/infra/skottie'
+ env:
+ - 'ROOT=/workspace/__skottie_staging'
+ - 'SKIP_BUILD=1'
+ args: ['make', 'release']
+ timeout: 600s
+ - name: 'gcr.io/skia-public/infra:prod'
+ dir: '/home/skia/golib/src/go.skia.org/infra/debugger'
+ env:
+ - 'ROOT=/workspace/__debugger_staging'
+ - 'SKIP_BUILD=1'
+ args: ['make', 'release']
+ timeout: 600s
+ - name: 'gcr.io/cloud-builders/docker'
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/fiddler:$COMMIT_SHA', '/workspace/__fiddler_staging']
+ timeout: 600s
+ - name: 'gcr.io/cloud-builders/docker'
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/skottie:$COMMIT_SHA', '/workspace/__skottie_staging']
+ timeout: 600s
- name: 'gcr.io/cloud-builders/docker'
- args: ['build', '-t', 'gcr.io/$PROJECT_ID/fiddler:$COMMIT_SHA', '/workspace/__staging']
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/debugger:$COMMIT_SHA', '/workspace/__debugger_staging']
timeout: 600s
images:
- 'gcr.io/$PROJECT_ID/fiddler:$COMMIT_SHA'
+ - 'gcr.io/$PROJECT_ID/skottie:$COMMIT_SHA'
+ - 'gcr.io/$PROJECT_ID/debugger:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/skia-release:prod'
timeout: 7200s