Use --google_default_credentials on macOS, too.
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index 44e2033..14d9805 100644
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -625,10 +625,8 @@
common_flags = ["--remote_timeout=10", "--experimental_remote_spawn_cache",
"--experimental_remote_platform_override=properties:{name:\"platform\" value:\"" + platform + "\"}",
"--remote_http_cache=https://storage.googleapis.com/bazel-buildkite-cache"]
- if platform in ["ubuntu1404", "ubuntu1604", "windows"]:
+ if platform in ["ubuntu1404", "ubuntu1604", "windows", "macos"]:
return common_flags + ["--google_default_credentials"]
- elif platform == "macos":
- return common_flags + ["--google_credentials=/Users/ci/GoogleDrive/bazel-public-e29b1f995cb1.json"]
return []