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

Tooling to import images from the TUF repo #176

Closed
yeazelm opened this issue May 30, 2023 · 0 comments · Fixed by #236
Closed

Tooling to import images from the TUF repo #176

yeazelm opened this issue May 30, 2023 · 0 comments · Fixed by #236
Assignees

Comments

@yeazelm
Copy link
Contributor

yeazelm commented May 30, 2023

What I'd like:
bottlerocket-os/bottlerocket#2486 covers the modify-image flow where modifying a pre-built image is faster or more advantageous than building from source. There are really two distinct pieces here, the modification of images vs downloading built images from the TUF repo and placing them in the working directory for modification. This issue covers importing those images.

Ideally this would be a make target such as cargo make import-images that takes a variant and version and downloads from a configured TUF repo. There is likely work to also have the kmod-kit and migrations also downloaded but I think we could scope that to yet a different issue if needed since modifying the images is really the only thing strictly needed.

I wrote a bash version of this target but ideally, this should go in pubsys to keep all the logic around where these images should be in one place.

Any alternatives you've considered:
Building from source, which sort of defeats the point of bottlerocket-os/bottlerocket#2486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants