Skip to content
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

Stop using EOL Fedora container images in older releases #1546

Open
jlebon opened this issue Jul 15, 2024 · 0 comments
Open

Stop using EOL Fedora container images in older releases #1546

jlebon opened this issue Jul 15, 2024 · 0 comments
Labels

Comments

@jlebon
Copy link
Member

jlebon commented Jul 15, 2024

Some of our tests shared with FCOS build containers locally. Once we branch f-c-c for RHCOS, those container references are never updated. Once those Fedora releases go EOL, their content move. And while it should keep working, hiccups do happen in that transition (see e.g. https://pagure.io/fedora-infrastructure/issue/11221 and https://pagure.io/releng/issue/12204).

But anyway, it's also not great to be relying on EOL content in our tests.

My proposal is to modify those tests to use UBI images on RHCOS, c9s images on SCOS, and Fedora images on FCOS.

@jlebon jlebon added the jira label Jul 15, 2024
jlebon added a commit to jlebon/os that referenced this issue Aug 22, 2024
In this stage of the build, we're just using Fedora to generate
repodata. Since this is a pretty basic operation, let's just always use
the latest Fedora instead of hardcoding a specific version. This ensures
that e.g. we're never going to use an EOL Fedora release.

This became an issue after 8301c67 ("extensions/Dockerfile: use the
FCOS defined fedora.repo to set up container"), which was backported
to older RHCOS branches that used EOL Fedora releases. Before, we were
using the mirrors, which papered over the fact that the content for EOL
releases actually moved to another location. But now that we're using
the canonical Fedora server, we're directly exposed to that.

Really, we should just stop hardcoding Fedora versions in this repo. We
shouldn't be using EOL releases at all as part of our builds or tests.
(Obviously a massive offender here is cosa... though that's a discussion
of its own.)

See also: openshift#1546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant