Skip to content

Commit

Permalink
Set up remote caching in CI (pantsbuild#19144)
Browse files Browse the repository at this point in the history
Runs a sidecar [bazel-remote](https://github.com/buchgr/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 committed May 25, 2023
1 parent 079363c commit 7b30d6a
Show file tree
Hide file tree
Showing 3 changed files with 513 additions and 5 deletions.
Loading

0 comments on commit 7b30d6a

Please sign in to comment.