Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kokoro/macos-clang-release-bazel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cd $SRC
/usr/bin/python3 utils/git-sync-deps

# Get bazel 7.0.2
gsutil cp gs://bazel/7.0.2/release/bazel-7.0.2-darwin-x86_64 .
gcloud storage cp gs://bazel/7.0.2/release/bazel-7.0.2-darwin-x86_64 .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test run failed:


+ gcloud storage cp gs://bazel/7.0.2/release/bazel-7.0.2-darwin-x86_64 .
  
........
ERROR: (gcloud.storage.cp) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account, run:

  $ gcloud config set account ACCOUNT

to select an already authenticated account to use.


[ID: 7923517] Command finished after 19 secs, exit value: 1


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you need to add this before:

gcloud config set auth/disable_credentials True

chmod +x bazel-7.0.2-darwin-x86_64

echo $(date): Build everything...
Expand Down