feat(ci performance) speculative: add registry cache variable everywhere to gha#328
Draft
kmannislands wants to merge 2 commits intomainfrom
Draft
feat(ci performance) speculative: add registry cache variable everywhere to gha#328kmannislands wants to merge 2 commits intomainfrom
kmannislands wants to merge 2 commits intomainfrom
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
|
| Branch | Total Count |
|---|---|
| main | 5658 |
| This PR | 5685 |
| Difference | +27 (0.48%) |
📁 Changes by file type:
| File Type | Change |
|---|---|
| Go files (.go) | ➖ No change |
| Documentation (.md) | ❌ +3 |
| Earthfiles | ➖ No change |
Keep up the great work migrating from Earthly to Earthbuild! 🚀
💡 Tips for finding more occurrences
Run locally to see detailed breakdown:
./.github/scripts/count-earthly.shNote that the goal is not to reach 0.
There is anticipated to be at least some occurences of earthly in the source code due to backwards compatibility with config files and language constructs.
Author
|
If this works we should probably bring back documentation for the feature and consider making some small improvements. |
42b81ed to
7514507
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At o8t, we've discovered an undocumented but very useful feature of earthly:
EARTHLY_REMOTE_CACHEThis was removed from docs in v0.7 but still appears to work as an alternative to volume-based caching for builds.
A registry-based cache is operationally simpler to use compared to managing cache volumes for the buildkitd instance.
This PR tries to use the feature in earthbuild's own CI with ghcr.io as the cache backend