-
Notifications
You must be signed in to change notification settings - Fork 515
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
Enable out-of-tree Bottlerocket variants #2669
Comments
similarly: if we need 1 custom package we also have to fork atm, so ideally the variant workflow would address this issue too |
Coming back to this functionnality. On my side it is a must-have capability and seems complex for now to make custom Bottlerock variants. On my side the identified customization needed could be listed as following :
For exemple I tried to create a new variant but even in the name of the variant their are some hard coded reference/tests to the name itself. For example, in early-boot-config, it tests if it is a metal variant and then apply some configuration. Being a metal should not be related to the name of the variant but rather a configuration variants |
@jfbette thank you for providing these requirements. We will be posting a design doc for consideration. We have created a new repository for a tool that will drive these builds, which we have given the name |
@jfbette Could you give me a little more details and a further example on what you want by "customize trademarks"? |
I came here via #1225 and #2570 looking for a way to install |
In order support out-of-tree builds (see bottlerocket-os#2669 and https://github.com/bottlerocket-os/twoliter), we need to move the build system to the Twoliter repository. This commit starts this process by moving the Makefile.toml logic to Twoliter and using Twoliter as a facade over the build system.
I'm happy to say that we've accomplished this! 🎉 🚀 🎉 We still have a lot of documentation to write, but in short:
If you're seeing this and want to try creating a Bottlerocket out-of-tree variant but encounter issues or have questions, please feel free to cut us an issue! The most sensible repo for such issues would likely by:
|
🎉 |
What I’d Like:
A supported mechanism for creating custom Bottlerocket variants that live within their own git trees. These variants should support some mechanism for defining a dependency on Bottlerocket’s core in a way that allows the custom variant to evolve independently and consume Bottlerocket-core updates safely.
We've been calling the project to enable this "Out of Tree Builds" and shortening that to OOTB, so if you see references to either, they are a reference to this issue.
Background:
Currently a set of variants are maintained in the Bottlerocket tree, but any additional variants must be created by forking the repo and maintaining a series of patches which add the special variant. Some risks and challenges of this include:
Edit: We have started a new GitHub repository for a tool that will drive these builds. Track bottlerocket-os/twoliter#1 for the design.
The text was updated successfully, but these errors were encountered: