Skip to content

Commit

Permalink
Explicitly set remote cache protocol for Mac VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
fweikert authored Nov 14, 2023
1 parent 3808e8b commit 3710c5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1843,9 +1843,10 @@ def remote_caching_flags(platform, accept_cached=True):
flags = ["--remote_cache=http://100.107.73.147"]
else:
# Use RBE for caching builds running on GCE.
protocol = "grpcs://" if is_mac() else ""
flags = [
"--google_default_credentials",
"--remote_cache=remotebuildexecution.googleapis.com",
"--remote_cache={}remotebuildexecution.googleapis.com".format(protocol),
"--remote_instance_name=projects/{}/instances/default_instance".format(CLOUD_PROJECT),
# Enable BES / Build Results reporting.
"--bes_backend=buildeventservice.googleapis.com",
Expand Down

0 comments on commit 3710c5e

Please sign in to comment.