-
Notifications
You must be signed in to change notification settings - Fork 1
SRE-3205 ci: update for Fedora 42 #87
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
Open
grom72
wants to merge
24
commits into
master
Choose a base branch
from
sre-3205
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+228
−10
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ed02ef8
SRE-3205 ci: update for Fedora 42
grom72 e0e779f
Add Leap 15 build on Fedora latest
grom72 a14108d
Add EL8 build on Fedora 41
grom72 e74d276
Update to leap 15.6
grom72 5540c3a
Add leap 15.5 build explicitly
grom72 9f5966a
Use Fedora "latest" explicitly
grom72 cc7570b
Remove support for all EOL Fedoora versions
grom72 362ae05
Disable Leap 15.5 until SRE-3219 is fixed
grom72 a63357b
Fix archive removal
grom72 61a087c
Revert "Remove support for all EOL Fedoora versions"
grom72 6296cf4
Use Fedora 38 for Leap 15.5 build
grom72 cd93a33
Detect if archive repo is needed for older Fedora
grom72 050e014
Revert "Detect if archive repo is needed for older Fedora"
grom72 56e8740
Documentation update
grom72 07d08fe
Automate Fedora EOL detection
grom72 bf92be5
Missing jq in the base Fedora image
grom72 abf6b88
Missing jq in the base Fedora image - fix
grom72 39ba6a6
Use local artifactory as eol proxy
grom72 292f1e7
Use local artifactory as eol proxy - fix 1
grom72 12b11f4
Use local artifactory as eol proxy - fix 2
grom72 6ba2414
Use local artifactory as eol proxy - fix 3
grom72 bc3c2d9
Use local artifactory as eol proxy - fix 4
grom72 92b5666
jq is no longer required
grom72 6499193
jq is no longer required - fix 1
grom72 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ LABEL maintainer="[email protected]" | |
| ARG REPO_FILE_URL | ||
| ARG DAOS_LAB_CA_FILE_URL | ||
| ARG REPOSITORY_NAME | ||
|
|
||
| # script to install OS updates basic tools and daos dependencies | ||
| # COPY ./utils/scripts/install-fedora.sh /tmp/install.sh | ||
| # script to setup local repo if available | ||
|
|
@@ -26,9 +27,9 @@ RUN chmod +x /tmp/repo-helper.sh && \ | |
| rm -f /tmp/repo-helper.sh | ||
|
|
||
| # Install basic tools | ||
| RUN dnf -y install mock make \ | ||
| rpm-build createrepo rpmlint redhat-lsb-core git \ | ||
| python-srpm-macros rpmdevtools && \ | ||
| RUN dnf -y install mock make \ | ||
| rpm-build createrepo rpmlint git \ | ||
| python-srpm-macros rpmdevtools && \ | ||
| dnf -y clean all | ||
|
|
||
| # use same UID as host and default value of 1000 if not specified | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
what happens when 42 gets moved to archive?
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.
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
archiveversion of Fedora. Archive means EOL.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.
-archiveoption has been removed in cc7570bThere 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.
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.
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 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.
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.
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.
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.
Fedora EOL is now calculated based on date retrieved from https://endoflife.date/api/fedora.json (via artifactory)