Skip to content

Conversation

@mkruskal-google
Copy link
Member

@mkruskal-google mkruskal-google commented Oct 11, 2022

This enables remote caching for all of our Bazel builds. This will have the largest impact on reruns, but should hopefully speed up all our CI builds.

Note: each job is given its own cache to avoid issues from non-hermetic builds. For example, if the version of python changes our current setup doesn't give Bazel enough knowledge to know the cache is stale. Ruby, PHP, C#, and Objective-c likely have this issue as well, since they all use non-hermetic genrules to grab system dependencies. Once all of these have been fully modified we can likely fall back to a single shared cache

@mkruskal-google mkruskal-google changed the title [WIP] Add remote cache to linux builds Add remote caching to bazel builds Oct 12, 2022
@mkruskal-google mkruskal-google merged commit 79564c5 into protocolbuffers:main Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants