Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement boot asset cache #46

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

smira
Copy link
Member

@smira smira commented Oct 26, 2023

Fixes #4

This caches the result of the boot asset build (a call to Talos imager) so that we don't rebuild the asset twice.

OCI Registry is used as a cache. An internal registry can be used for caching, we don't need to expose it to the world.

@smira smira force-pushed the feat/cache-generated-assets branch from 3e975dd to 7d5b7ee Compare October 27, 2023 14:16
@smira smira marked this pull request as ready for review October 27, 2023 14:17
@smira smira force-pushed the feat/cache-generated-assets branch from 7d5b7ee to 22c67a8 Compare October 27, 2023 14:45
internal/asset/cache.go Outdated Show resolved Hide resolved
Fixes siderolabs#4

This caches the result of the boot asset build (a call to Talos
`imager`) so that we don't rebuild the asset twice.

OCI Registry is used as a cache. An internal registry can be used for
caching, we don't need to expose it to the world.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
@smira smira force-pushed the feat/cache-generated-assets branch from 22c67a8 to 354baca Compare October 30, 2023 10:05
@smira
Copy link
Member Author

smira commented Oct 30, 2023

/m

@talos-bot talos-bot merged commit 354baca into siderolabs:main Oct 30, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OCI Caching Registry
3 participants