Skip to content

Conversation

@grom72
Copy link
Contributor

@grom72 grom72 commented Jul 17, 2025

  • redhat-lsb-core no longer supported by Fedora 42
  • Fedora 41 and 42 are not available in archive repo, archive repo is only for EOL releases
  • new test to verify that packaging works for all supported version of Fedora: latest (default), 41, 42

- redhat-lsb-core no longer supported by Fedora 42
- Fedora 41 and 42 are not available in archive repo, archive repo is
  only for EOL releases
- new test to verify that packaging works for all supported version of
  Fedoria: latest (default), 41, 42

Signed-off-by: Tomasz Gromadzki <[email protected]>
@grom72 grom72 changed the title SRE-3205 ci: fixes for Fedora 42 SRE-3205 ci: update for Fedora 42 Jul 17, 2025
grom72 added 4 commits July 18, 2025 08:31
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Copy link

@ryon-jensen ryon-jensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Help me understand why we're building on fedora

: "${REPOSITORY_NAME:=artifactory}"
: "${archive:=}"
if [ "$FVERSION" != "latest" ]; then
archive="-archive"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens when 42 gets moved to archive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most probably we will modify this script sooner when adding support for Fedora 43, 44.

But to be honest we should remove support for any archive version of Fedora. Archive means EOL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-archive option has been removed in cc7570b

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the archive option allows us to use older than latest in case we have to pin something to an archive release.

Fedora was used because that is the version of mock that has is kept up to date with the distros. Unfortunately fedora has been dropping support for archived EL-x and EOS leap-15.x.

At one point, only fedora/38 could build leap 15.5 rpms, and we needed to go to fedora/41 to build leap 15.6 rpms, and fedora/41 dropped building the leap 15.4 rpms.

The version of the image used in the common docker file can vary for the target of el-8, el-9, leap-15, and near future el-10.

We have fedora-latest pinned to fedora/41 currently, and I would like to remove that pin or move that pin to fedora/42.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not see a point to build anything in scope of EOL OSes.
Based on https://en.opensuse.org/Lifetime Leap 15.5 is already EOL for more than half of year.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately our paying customer has not yet migrated to SLES 15 SP6, so needs leap 15.5 built RPMs.
We run into that in a lot of cases where we can not move to the most recent version of a distro, which is one of the reasons we are building and testing on el-8.8 instead of el-8.10 and el-8.8 has been out of support for longer than leap 15.5.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fedora EOL is now calculated based on date retrieved from https://endoflife.date/api/fedora.json (via artifactory)

grom72 added 4 commits July 22, 2025 08:29
Signed-off-by: Tomasz Gromadzki <[email protected]>
Fedoras versions stored in -archived folder are EOL and should not be
used.

Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
@grom72 grom72 requested a review from ryon-jensen July 23, 2025 10:47
grom72 added 13 commits July 24, 2025 08:04
This reverts commit a63357b.
This reverts commit cc7570b.

Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
This reverts commit cd93a33.

Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
grom72 added 2 commits July 24, 2025 12:43
Signed-off-by: Tomasz Gromadzki <[email protected]>
Signed-off-by: Tomasz Gromadzki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants