forked from GoogleCloudPlatform/runtimes-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reconciletags_cloudbuild.yaml
18 lines (18 loc) · 1.2 KB
/
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@sha256:7360c36bded15db68a35cfb1740a994f0a09ad5ce378a97f96d698bc223e442a'
args: ['build', 'appengine/reconciletags:reconciletags.par']
- name: 'gcr.io/cloud-builders/bazel@sha256:7360c36bded15db68a35cfb1740a994f0a09ad5ce378a97f96d698bc223e442a'
args: ['build', 'appengine/reconciletags:config_integrity.par']
- name: 'gcr.io/cloud-builders/bazel@sha256:7360c36bded15db68a35cfb1740a994f0a09ad5ce378a97f96d698bc223e442a'
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/']