Skip to content

Commit

Permalink
configs: Switch CentOS 7 to vault.centos.org
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-scheck committed Jul 22, 2024
1 parent 0a82f4b commit 1c2ced7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions mock-core-configs/etc/mock/eol/templates/centos-7.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ user_agent={{ user_agent }}
# repos
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=os
baseurl=https://vault.centos.org/7.9.2009/os/$basearch/
failovermethod=priority
gpgkey={{ centos_7_gpg_keys }}
gpgcheck=1
Expand All @@ -47,24 +47,23 @@ skip_if_unavailable=False
[updates]
name=CentOS-$releasever - Updates
enabled=1
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=updates
baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/
failovermethod=priority
gpgkey={{ centos_7_gpg_keys }}
gpgcheck=1
skip_if_unavailable=False

[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/os/
baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/
failovermethod=priority
gpgkey={{ centos_7_gpg_keys }}
gpgcheck=1
skip_if_unavailable=False

[fastrack]
name=CentOS-$releasever - fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack
baseurl=https://vault.centos.org/7.9.2009/fasttrack/$basearch/
failovermethod=priority
gpgkey={{ centos_7_gpg_keys }}
gpgcheck=1
Expand All @@ -73,16 +72,15 @@ enabled=0

[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=https://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgkey={{ centos_7_gpg_keys }}
gpgcheck=1
enabled=0

{% if target_arch == 'x86_64' %}
[centos-sclo-sclo]
name=CentOS-$releasever - SCLo sclo
baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/sclo/
baseurl=https://vault.centos.org/7.9.2009/sclo/$basearch/sclo/
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-SCLo
gpgcheck=1
skip_if_unavailable=False
Expand All @@ -91,7 +89,7 @@ skip_if_unavailable=False
{% if target_arch in ['x86_64', 'ppc64le', 'aarch64'] %}
[centos-sclo-rh]
name=CentOS-$releasever - SCLo rh
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=sclo-rh
baseurl=https://vault.centos.org/7.9.2009/sclo/$basearch/rh/
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-SCLo
gpgcheck=1
skip_if_unavailable=False
Expand Down
2 changes: 1 addition & 1 deletion releng/release-notes-next/centos-7-eol.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The CentOS 7 [is now EOL](https://www.redhat.com/en/topics/linux/centos-linux-eol)
and the mirroring is disabled. Corresponding configuration files have been
moved to `/etc/mock/eol`.
moved to `/etc/mock/eol` and are pointing now to vault.centos.org.

Similarly, EPEL 7 [goes EOL](https://pagure.io/epel/issue/238), too. Moving
EPEL 7 configuration to `/etc/mock/eol`, too.

0 comments on commit 1c2ced7

Please sign in to comment.