Skip to content

Commit

Permalink
Use gcr.io/cloud-builders/bazel:5.4.0 for cloudbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Jun 20, 2024
1 parent 05e0a10 commit dd7134b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
steps:
- name: gcr.io/cloud-builders/bazel:6.2.1
- name: gcr.io/cloud-builders/bazel:5.4.0
entrypoint: bazel
args: ['version']

- name: gcr.io/cloud-builders/bazel:6.2.1
- name: gcr.io/cloud-builders/bazel:5.4.0
entrypoint: bazel
args: ['build', '//cmd/...', '//images:etcd-manager', '//images:etcd-manager-slim', '//images:etcd-backup', '//images:etcd-dump']
# To build with GCS cache
#args: ['build', '--google_default_credentials', '--spawn_strategy=remote', '--genrule_strategy=remote', '--strategy=Javac=remote', '--strategy=Closure=remote', '--remote_http_cache=https://storage.googleapis.com/cache-bucket', '//cmd/...']

- name: gcr.io/cloud-builders/bazel:6.2.1
- name: gcr.io/cloud-builders/bazel:5.4.0
entrypoint: bazel
args: ['test', '//test/...', '--test_output=streamed', '--local_test_jobs=1']

Expand Down

0 comments on commit dd7134b

Please sign in to comment.