From 2a885737346c9fd8703741145bebba76bd42d512 Mon Sep 17 00:00:00 2001 From: Rody Davis Date: Fri, 12 Jun 2026 22:12:20 -0700 Subject: [PATCH] build: configure HTTP and gRPC remote caching in .bazelrc --- .bazelrc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .bazelrc diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 0000000..156ea1d --- /dev/null +++ b/.bazelrc @@ -0,0 +1,11 @@ +# --- Remote Caching --- +build:http-cache --remote_cache=https://bazel-cache.rodydavis.dev +build:http-cache --remote_timeout=5 +build:http-cache --remote_local_fallback=true +build:http-cache --remote_header=Authorization="Bearer ${BAZEL_CACHE_TOKEN}" + +build:grpc-cache --remote_cache=grpcs://bazel-grpc-cache.rodydavis.dev +build:grpc-cache --remote_upload_local_results=true +build:grpc-cache --remote_timeout=5 +build:grpc-cache --remote_local_fallback=true +build:grpc-cache --remote_header=Authorization="Bearer ${BAZEL_CACHE_TOKEN}"