-
Notifications
You must be signed in to change notification settings - Fork 158
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
Move buildroot image here #740
Conversation
This still needs some fleshing out around how this solves the kolet case, though let's keep the discussions about that in coreos/coreos-assembler#1863. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea here makes a lot of sense to me!
OK, rebased and ready to go! Tested locally with |
When using cosa to build OSes, we've been pretty good at shielding ourselves from versioning differences between source and target environments (for example, RHCOS is built by Fedora packages). But when it comes to building things meant to run *in* that OS, we really should match the buildroot of the target. Right now, many of our projects use the buildroot cosa container to build their projects in CI. But this doesn't necessarily match the buildroot of the rest of the OS. Since the buildroot to use is defined here (specifically via the `releasever` key), let's move the concept of a "buildroot image" from cosa to here. Specifically, we want a container image with all the deps to the components we mostly hack on for use by both CI and local developers. This can then be used by CoreOS CI for building upstream projects, as well as by cosa itself for building kolet. See also: coreos/coreos-assembler#1863
This was moved to the fedora-coreos-config repo in coreos/fedora-coreos-config#740
@@ -0,0 +1,39 @@ | |||
# This is a list of basic buildrequires; it'd be a bit better to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to xref: coreos/rpm-ostree#2326 (comment)
That said there is a somewhat profound thing going on here in not deriving from coreos-assembler because some of our CI may actually rely on tools in cosa but not in this buildroot. But...let's try it out! |
(Which...is going to lead to the question of whether we should in some cases ship some parts of cosa as an RPM) |
Skipping CI since it's separate files which don't affect the compose at all. |
We're moving away from a buildroot image based on cosa to one based on FCOS: coreos/fedora-coreos-config#740 Correspondingly, add a new `buildPod` as a thin sugar for selecting that image.
This was moved to the fedora-coreos-config repo in coreos/fedora-coreos-config#740
See coreos/fedora-coreos-config#740 which we now need to use in our Prow jobs too.
Similar to coreos/ignition#1182 as a result of coreos/fedora-coreos-config#740.
Similar to coreos/ignition#1182 as a result of coreos/fedora-coreos-config#740. As a bonus, we now get a clear separate stage for building. Add a stage for running unit tests, but keep it commented out for now and we'll circle back to it when it's cleaner to do once we have: coreos/fedora-coreos-config#917 GitHub Actions covers unit tests anyway.
extensions: Remove references to qemu-kiwi and advanced-virt
When using cosa to build OSes, we've been pretty good at shielding
ourselves from versioning differences between source and target
environments (for example, RHCOS is built by Fedora packages). But when
it comes to building things meant to run in that OS, we really should
match the buildroot of the target.
Right now, many of our projects use the buildroot cosa container to
build their projects in CI. But this doesn't necessarily match the
buildroot of the rest of the OS.
Since the buildroot to use is defined here (specifically via the
releasever
key), let's move the concept of a "buildroot image" fromcosa to here. Specifically, we want a container image with all the deps
to the components we mostly hack on for use by both CI and local
developers.
This can then be used by CoreOS CI for building upstream projects, as
well as by cosa itself for building kolet.
See also: coreos/coreos-assembler#1863