-
Notifications
You must be signed in to change notification settings - Fork 248
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
ci: adapt to new buildroot image #1182
Conversation
Requires: coreos/coreos-ci-lib#66 |
.cci.jenkinsfile
Outdated
withEnv(["XDG_CACHE_HOME=${env.WORKSPACE}/cache"]) { | ||
stage("Build") { | ||
shwrap("make") | ||
shwrap("make install DESTDIR=install") |
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.
The DESTDIR=install
bit and overlays: "install"
bit below is kinda awkward. We can look at adding more sugar for this in the future.
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.
Yeah definitely, centralizing and standardizing this is IMO a lot of the goal.
.cci.jenkinsfile
Outdated
withEnv(["XDG_CACHE_HOME=${env.WORKSPACE}/cache"]) { | ||
stage("Build") { | ||
shwrap("make") | ||
shwrap("make install DESTDIR=install") |
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.
Yeah definitely, centralizing and standardizing this is IMO a lot of the goal.
Matching coreos/ignition#1182 and discussion in coreos/fedora-coreos-tracker#764
1b506b6
to
c781533
Compare
We're moving away from a buildroot image based on cosa, so we need to do our build in a separate pod. This is more complex, but the upside is that it guarantees that we're always building in the same buildroot that was used to build all of FCOS' components.
OK cool, this works! ✔️ |
(This patch also makes a small improvement: it more correctly limits the "blackbox" stage to only run that test, whereas before it ran all of |
Matching coreos/ignition#1182 and discussion in coreos/fedora-coreos-tracker#764
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.
We're moving away from a buildroot image based on cosa, so we need to do
our build in a separate pod. This is more complex, but the upside is
that it guarantees that we're always building in the same buildroot that
was used to build all of FCOS' components.