Use BoringCache for image builds - #2
Merged
Merged
Conversation
allow for push and cache to be done by including bake config do local caching, for github actions cache. introduce datestamp for cache key use datestamps for cache invalidation
Author
Trusted cold → warm benchmarkThe integration has now been measured on the same
Seed: https://github.com/boringcache/discourse_docker/actions/runs/31796197395 The cache mechanisms were verified independently:
The benchmark runs intentionally skipped specs. Full image/spec validation remains recorded in run 31786679565 (45,883 examples on each architecture). |
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.
Summary
boringcache/onev1.19.1 for the managed BuildKit builder and Docker layer cacheThis branch starts from current upstream
main, including the Mozilla signing-key fix.Product validation
The clean image-only run completed successfully on both native architectures:
SKIP_TESTS=1repository variable; the workflow still runs them by default when that variable is unsethttps://github.com/boringcache/discourse_docker/actions/runs/31793667346
This was an intentionally cold, restore-only pull-request run. It proves the wiring rather than a warm speedup:
Remote storageinside the Docker build on both architecturesA trusted
mainor scheduled run must seed the Docker, ccache, and mount caches before a following rolling run can measure warm reuse.Full-suite validation
An earlier clean product run built the same AMD64 and ARM64 image pipelines and ran the complete Discourse suite:
https://github.com/boringcache/discourse_docker/actions/runs/31786679565
Static checks
git diff --checkpassesactionlintreports no workflow-structure errors; its remaining findings are pre-existing upstream shellcheck noticesdocker buildx bake --print