Skip to content

Commit

Permalink
Set up remote caching in CI (cherry-pick of #19144) (#19163)
Browse files Browse the repository at this point in the history
Runs a sidecar bazel-remote server in a docker container. This server
uses S3 as its storage backend, specifically a new cache.pantsbuild.org
bucket.

Read/write access requires our AWS secret key, which is not accessible
to PRs across forks. So to write to this cache, a PR must be from a
branch in the pantsbuild/pants repo.

We can establish protocols by which a set of trusted contributors can
push to feature branches in pantsbuild/pants and submit PRs from them,
rather than from forks, to get the best CI speedups.

PRs across forks can still read from the cache, via restricted creds.
  • Loading branch information
benjyw authored May 26, 2023
1 parent cae4bcf commit cd0c9f0
Show file tree
Hide file tree
Showing 3 changed files with 515 additions and 4 deletions.
Loading

0 comments on commit cd0c9f0

Please sign in to comment.