Consider making CI bazel cache public for read only access
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 928
- Forks
- 227
- PR merge metrics
- No merged PRs in 30d
Description
Bazel allows you to use the build cache in a read-only manner see here. It would be very helpful for local builds if we could make the cache used by the CI available in read only mode for local builds, and potentially automatically set that up (via a bazelrc or maven profile). Currently building from scratch takes several hours for me, which is quite a pain. It would require changing the permissions on the GCP bucket though and I'm not sure if that's something we can do.
cc @karllessard
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Bazel remote-caching documentation linked in the issue, then inspect the repository's CI configuration and any bazelrc or Maven profile. Determine whether the GCP bucket can safely allow read-only access for local builds and how that access would be configured. Done means local builds can use the CI cache without write permissions or compromising the bucket.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, java
- Domain
- build-system, ci-cd, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100