bazel: Clean up remote cache flags
Sort the flags alphabetically, and remove the duplicate flag. The
sorting should help avoid such duplication in the future!
Change-Id: I32f6a5d926c8b199a2568d99d5eda77291ef5c20
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/238154
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Dave Roth <davidroth@google.com>
diff --git a/.bazelrc b/.bazelrc
index 180b3a5..b14262f 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -105,18 +105,17 @@
# ============
# Use the remote cache. This will only work for users who have permission to
# access it (including the CI system!).
-common:remote_cache --remote_cache=grpcs://remotebuildexecution.googleapis.com
-common:remote_cache --google_default_credentials=true
-common:remote_cache --remote_instance_name=projects/pigweed-rbe-open/instances/default-instance
-common:remote_cache --remote_upload_local_results=false
common:remote_cache --bes_backend="buildeventservice.googleapis.com"
+common:remote_cache --bes_instance_name=pigweed-rbe-open
+common:remote_cache --bes_results_url="https://source.cloud.google.com/results/invocations/"
+common:remote_cache --bes_timeout=60s
+common:remote_cache --google_default_credentials=true
# Required to use buildeventservice on Bazel 8+.
# TODO: b/345556899 -- Remove this flag when no longer required.
common:remote_cache --legacy_important_outputs
-common:remote_cache --bes_timeout=60s
-common:remote_cache --bes_results_url="https://source.cloud.google.com/results/invocations/"
+common:remote_cache --remote_cache=grpcs://remotebuildexecution.googleapis.com
common:remote_cache --remote_instance_name=projects/pigweed-rbe-open/instances/default-instance
-common:remote_cache --bes_instance_name=pigweed-rbe-open
+common:remote_cache --remote_upload_local_results=false
# Platform configuration
# ======================