Skip to content

Commit

Permalink
Pin Bazel version to 6.x.
Browse files Browse the repository at this point in the history
The repo seems to have issues with Bazel 7, which is the default picked
up for Bazelisk.

Note: CI previously ran with Bazel 5, but Bazel 6 is needed for recent
versions of rules_python.
  • Loading branch information
mikex-oss committed Jun 26, 2024
1 parent 0d1f251 commit c176607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.x
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ steps:
path: /root/.ssh

# Run the build
- name: gcr.io/cloud-builders/bazel
- name: gcr.io/cloud-builders/bazel:6.4.0
entrypoint: 'bash'
args:
- '-c'
Expand Down

0 comments on commit c176607

Please sign in to comment.