The remote cache configuration for this repository is stored in .bazelrc and grouped
under the name, remote-cache
. It is configured to allow read-only access for all clients and
read-write for CI.
To enable the remote cache,
- Add
build --remote_header=x-buildbuddy-api-key=${buildbuddy_api_key}
to.bazelrc.auth
at the root of the workspace, replacing${buildbuddy_api_key}
with the actual API key value. - Add
build --config=remote-cache
to.bazelrc.local
at the root of the workspace.