Clear Bazel remote downloader without BuildBuddy

This commit is contained in:
Eric Traut
2026-05-31 20:11:15 -07:00
parent b78d153d5b
commit 8a406ace29
+4
View File
@@ -423,10 +423,14 @@ else
# clear remote cache/execution endpoints configured in .bazelrc.
# https://bazel.build/reference/command-line-reference#common_options-flag--remote_cache
# https://bazel.build/reference/command-line-reference#common_options-flag--remote_executor
# --experimental_remote_downloader=:
# clear the remote downloader endpoint configured in .bazelrc. Bazel 9
# rejects a remote downloader without a gRPC remote cache.
bazel_run_args=(
"${bazel_args[@]}"
--remote_cache=
--remote_executor=
--experimental_remote_downloader=
)
if (( ${#post_config_bazel_args[@]} > 0 )); then
bazel_run_args+=("${post_config_bazel_args[@]}")