-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor Bazel remote cache config (#74)
- Loading branch information
Showing
3 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Contributing to `gazelle_cabal` | ||
|
||
## Bazel Remote Cache | ||
|
||
The remote cache configuration for this repository is stored in [.bazelrc](/.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, | ||
|
||
1. 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. | ||
1. Add `build --config=remote-cache` to `.bazelrc.local` at the root of the workspace. |