Skip to content

Commit

Permalink
Add a fedora-archive repo
Browse files Browse the repository at this point in the history
Certain kola tests on older RHCOS branches rely on EOL fedora
containers to set up and run the test environment. Right now,
the older content can be found on the mirrors, but as part of the
RHCOS pipeline migration effort to the ITUP cluster, we have to
explicitly specify each outbound connection.

Add a `fedora-archive.repo` file to be used in these tests so we can
always download the older content from: https://dl.fedoraproject.org

see: coreos#3123 (comment)
  • Loading branch information
marmijo committed Sep 3, 2024
1 parent f5ea8ce commit 41b48df
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions fedora-archive.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Certain kola tests on older RHCOS branches rely on EOL Fedora containers
# to set up and run the test environment. The ITUP cluster, being used by
# the RHCOS pipeline, requires all outbound connections to be explicitly
# specified in a Firewall Egress file. By using these archive repos on
# the older RHCOS branches, we can ensure that those kola tests will
# always download archived content from `https://dl.fedoraproject.org`.

[fedora-archive]
name=Fedora $releasever - $basearch
baseurl=https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Everything/$basearch/os/
https://dl.fedoraproject.org/pub/archive/fedora-secondary/releases/$releasever/Everything/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
#metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary
skip_if_unavailable=False

[fedora-archive-updates]
name=Fedora $releasever - $basearch
baseurl=https://dl.fedoraproject.org/pub/archive/fedora/linux/updates/$releasever/Everything/$basearch/
https://dl.fedoraproject.org/pub/archive/fedora-secondary/updates/$releasever/Everything/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
#metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-$releasever-primary
skip_if_unavailable=False

0 comments on commit 41b48df

Please sign in to comment.