forked from GoogleCloudPlatform/runtimes-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreconciletags_cloudbuild.yaml
18 lines (18 loc) · 1009 Bytes
/
reconciletags_cloudbuild.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
steps:
#Build the par files with bazel
- name: 'gcr.io/cloud-builders/bazel'
args: ['build', 'appengine/reconciletags:reconciletags.par']
- name: 'gcr.io/cloud-builders/bazel'
args: ['build', 'appengine/reconciletags:config_integrity.par']
- name: 'gcr.io/cloud-builders/bazel'
args: ['build', 'appengine/reconciletags:data_integrity.par']
#Copy par files into commit SHA bucket
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', 'bazel-bin/appengine/reconciletags/reconciletags.par', 'gs://reconciletags/$COMMIT_SHA/']
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', 'bazel-bin/appengine/reconciletags/config_integrity.par', 'gs://reconciletags/$COMMIT_SHA/']
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', 'bazel-bin/appengine/reconciletags/data_integrity.par', 'gs://reconciletags/$COMMIT_SHA/']
#Copy par files into 'latest' bucket
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', 'gs://reconciletags/$COMMIT_SHA/*', 'gs://reconciletags/latest/']