-
Notifications
You must be signed in to change notification settings - Fork 197
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
Jenkins prep and cleanup patches #1900
Conversation
Use `dnf` consistently. Drop a couple of other conditionals.
Jenkins' `checkout scm` gives us the exact commit that we're testing. Allow passing that to the submodule commit message checker so it doesn't use `HEAD` (which is likely GitHub's merge commit).
These are part of the latest release now, so we can nuke them and skip one `dnf install` invocation.
This is a bit of a hack, but does the trick now. Eventually, we'll need to either bump rdgo to f30, or set up continuous builds some other way (e.g. Packit or Jenkins pipelines).
The build system doesn't support this anymore. Also add `-T0` for multi-threading.
Not actually planning to use this for now. Noticed it in passing.
So this is a somewhat significant change, but I'd like to try having the canonical spec file upstream. A few reasons for this: 1. We integrate tightly with the distros we're destined for, and so we're in a pretty good position for knowing how the software should be packaged. 2. We can atomically change packaging along with the rest of the code. This has important ramifications, including that it'll be easier to integrate with continuous build services like Packit, but releases will also be less fraught with last-minute packaging fixes. 3. I'm playing with Jenkins pipelines and there I'd like to make RPMs the "artifact" that gets moved down the pipeline into later stages (e.g. `cosa build`). We could even eventually make it an actual external artifact so that anyone can easily download RPMs from any random PR for testing. (And in fact, with a thin yumrepo layer on top, it could be used to replace Packit/rdgo entirely). Not that this approach doesn't have issues as well (e.g. on the dist-git side, we'll need some minimal tooling to merge in the changelog), though I think it's worth trying out.
From Rust v1.37, `cargo vendor` is now baked. Stop building it, and tweak the vendoring script to adapt to the new UX.
This is one of the tests right now that assumes it's running on f29. We might be sort of in this awkward dual path for a while where we want tests to run on both f29 (i.e. FAH) and f30 (i.e. FCOS).
Follow-up to the recent licensing changes. This is the first spec file change since moving it upstream.
bot, retest this please |
1 similar comment
bot, retest this please |
echo "Running yum -y distro-sync... $(date)" | ||
yum -y distro-sync | ||
echo "Done yum -y distro-sync! $(date)" | ||
echo "Running dnf -y distro-sync... $(date)" |
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.
I know this will be an endless battle but...we probably do want to support rhel8 builds at some point, and it's still yum
there...not that it matters really. I just find it easier personally to type yum
since it works on rhel7 too.
⚡ Test exempted: pull fully rebased and already tested. |
Jenkins' `checkout scm` gives us the exact commit that we're testing. Allow passing that to the submodule commit message checker so it doesn't use `HEAD` (which is likely GitHub's merge commit). Closes: #1900 Approved by: cgwalters
These are part of the latest release now, so we can nuke them and skip one `dnf install` invocation. Closes: #1900 Approved by: cgwalters
This is a bit of a hack, but does the trick now. Eventually, we'll need to either bump rdgo to f30, or set up continuous builds some other way (e.g. Packit or Jenkins pipelines). Closes: #1900 Approved by: cgwalters
The build system doesn't support this anymore. Also add `-T0` for multi-threading. Closes: #1900 Approved by: cgwalters
Not actually planning to use this for now. Noticed it in passing. Closes: #1900 Approved by: cgwalters
So this is a somewhat significant change, but I'd like to try having the canonical spec file upstream. A few reasons for this: 1. We integrate tightly with the distros we're destined for, and so we're in a pretty good position for knowing how the software should be packaged. 2. We can atomically change packaging along with the rest of the code. This has important ramifications, including that it'll be easier to integrate with continuous build services like Packit, but releases will also be less fraught with last-minute packaging fixes. 3. I'm playing with Jenkins pipelines and there I'd like to make RPMs the "artifact" that gets moved down the pipeline into later stages (e.g. `cosa build`). We could even eventually make it an actual external artifact so that anyone can easily download RPMs from any random PR for testing. (And in fact, with a thin yumrepo layer on top, it could be used to replace Packit/rdgo entirely). Not that this approach doesn't have issues as well (e.g. on the dist-git side, we'll need some minimal tooling to merge in the changelog), though I think it's worth trying out. Closes: #1900 Approved by: cgwalters
From Rust v1.37, `cargo vendor` is now baked. Stop building it, and tweak the vendoring script to adapt to the new UX. Closes: #1900 Approved by: cgwalters
This is one of the tests right now that assumes it's running on f29. We might be sort of in this awkward dual path for a while where we want tests to run on both f29 (i.e. FAH) and f30 (i.e. FCOS). Closes: #1900 Approved by: cgwalters
Follow-up to the recent licensing changes. This is the first spec file change since moving it upstream. Closes: #1900 Approved by: cgwalters
Dist-git follow-up to this in https://src.fedoraproject.org/rpms/rpm-ostree/pull-request/37. |
These are prep patches for hooking up to Jenkins pipelines. Most are pretty straight-forward but there is one commit I'd like to call out specifically:
packaging: Move canonical spec file here
So this is a somewhat significant change, but I'd like to try having the
canonical spec file upstream. A few reasons for this:
we're in a pretty good position for knowing how the software should
be packaged.
This has important ramifications, including that it'll be easier to
integrate with continuous build services like Packit, but releases
will also be less fraught with last-minute packaging fixes.
the "artifact" that gets moved down the pipeline into later stages
(e.g.
cosa build
). We could even eventually make it an actualexternal artifact so that anyone can easily download RPMs from any
random PR for testing. (And in fact, with a thin yumrepo layer on
top, it could be used to replace Packit/rdgo entirely).
Not that this approach doesn't have issues as well (e.g. on the dist-git
side, we'll need some minimal tooling to merge in the changelog), though
I think it's worth trying out.