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
[release-5.19 backport] Cirrus: Update to F36 VMs #1540
Conversation
e4b2725
to
8472055
Compare
does this need a change in the skopeo version used in cirrus? |
Yes — update |
8472055
to
33bb376
Compare
@@ -4,7 +4,7 @@ export GOPROXY=https://proxy.golang.org | |||
|
|||
# Which github repository and branch to use for testing with skopeo | |||
SKOPEO_REPO = containers/skopeo | |||
SKOPEO_BRANCH ?= master | |||
SKOPEO_BRANCH ?= main |
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.
Uh, that was apparently left over — I guess we were saved by a redirect.
But in this case the 5.19 version of c/image needs to be testing with a 5.19-using version of Skopeo, something like v1.6.2
.
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.
hmm, so IIUC, that would be handled in SKOPEO_CIDEV_CONTAINER_FQIN: "quay.io/libpod/skopeo_cidev:${IMAGE_SUFFIX}"
?? I see that the IMAGE_SUFFIX is a quay.io repo tag and I don't think there's an easy mapping of repo tag <-> skopeo version, or am I looking in the wrong place?
/cc @cevich
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.
Oops, my mistake, SKOPEO_REPO
and SKOPEO_BRANCH
seems to be completely unused now.
The right variable is SKOPEO_CI_TAG
in .cirrus.yml
; that’s consumed in contrib/cirrus/runner.sh
to check out the relevant Skopeo version.
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.
Those unused variables will be fixed on the main branch by #1541.
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.
Ya, I think you're on the right track. There is no hard correlation between branch, tag, and $IMAGE_SUFFIX. So long as the $IMAGE_SUFFIX
is consistent between VMs and container images, as was tested when the $IMAGE_SUFFIX
. The tricky thing for release branches is, we cannot easily go back and build new "old" images (for example if they were to get pruned due to disuse). Hopefully that makes sense.
33bb376
to
f158774
Compare
… So Skopeo will need (some parts of) containers/skopeo#1631 , backported to the relevant branch. The perils of being the first change on an older branch that is not being regularly tested… |
@lsm5 containers/skopeo#1637 should help with the |
Yep, you said it correctly 😞 I'm seriously thinking this may need to change. In recent memory, I think this is the third or fourth time there's been a problem(?). While I can't do anything about old images that were already pruned. If there are release branches we should preserve going-forward (i.e. with "not yet dead" VM images), we can do something about that. Just send me the branch names and/or add them into the cirrus-cron schedule yourself (config page), the docs are short and helpful too. |
If you asked me yesterday, I wouldn’t have, from memory, pointed at this one as necessary… Ideally I’d dream of RHEL needs driving this, so that every time we make a release that could plausibly need back ported fixes, we immediately branch and mark the CI infrastructure for preservation (and periodic CI validation tests?). Assuming we want to pay for so much infrastructure, that is — IIRC that was a concern at some point. |
Technically the tests don't really even need to run. It's that "meta" task that's the important thing. At least that needs to run probably weekly, and be monitored (so we know if it stops running). I'm not worried about the infrastructure or cost (pennies) at all if it's important/critical to RHEL. It is an extra maintenance burden, but sometimes working CI for backports is necessary and important. I'm simply not qualified to be the judge of that. Adding the e-mail monitoring is a pain, but it's a one-time up-front time-cost (unless it breaks). |
Signed-off-by: Chris Evich <cevich@redhat.com> (cherry picked from commit 90eec84) Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org> Update SKOPEO_CI_TAG in cirrus config Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
f158774
to
dadafd6
Compare
@mtrmac PTAL. |
ugh ..i thought i saw all green, nvm, looking .. |
Closing this in favour of #1542 |
Signed-off-by: Chris Evich cevich@redhat.com
(cherry picked from commit 90eec84)
Signed-off-by: Lokesh Mandvekar lsm5@fedoraproject.org