Fix: Update CentOS 7 mirrorlist to vault 89/72989/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 3 Jul 2024 11:12:24 +0000 (21:12 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 3 Jul 2024 11:12:24 +0000 (21:12 +1000)
With CentOS 7 being EOL the mirrorlist URLs are archived
and moved to CentOS vault.

This impacts Jenkins minions configuration required for
Sigul signing.

As a workaround force vault use in yum repos config
till this is resolved and new version of sigul client/server
is available to use on the infrastructure.

https://forums.centos.org/viewtopic.php?t=78708&start=30
https://forums.centos.org/viewtopic.php?t=80698

Issue: RELENG-5419
Change-Id: Ic193107a29aa83a2ee3c2cc356ca624522cc94f9
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
docker/Dockerfile
releasenotes/notes/update-centos-mirros-for-sigul-af89f3ddee6d237a.yaml [new file with mode: 0644]

index 06ccf76..53ad615 100644 (file)
@@ -14,6 +14,9 @@ gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAG
 includepkgs=sigul* \n\
 skip_if_unavailable=True' > /etc/yum.repos.d/fedora-infra-sigul.repo
 
+RUN sed -i_ 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* || exit 1
+RUN sed -i_ 's@#baseurl=http://mirror.centos.org@baseurl=http://vault.centos.org@g' /etc/yum.repos.d/CentOS-* || exit 1
+
 RUN yum install -y -q sigul
 
 RUN mkdir -p /w/workspace && mkdir -p /home/jenkins
diff --git a/releasenotes/notes/update-centos-mirros-for-sigul-af89f3ddee6d237a.yaml b/releasenotes/notes/update-centos-mirros-for-sigul-af89f3ddee6d237a.yaml
new file mode 100644 (file)
index 0000000..ad535c8
--- /dev/null
@@ -0,0 +1,17 @@
+---
+fixes:
+  - |
+    Fix: Update CentOS 7 mirrorlist to vault
+
+    With CentOS 7 being EOL the mirrorlist URLs are archived
+    and moved to CentOS vault.
+
+    This impacts Jenkins minions configuration required for
+    Sigul signing.
+
+    As a workaround force vault use in yum repos config
+    till this is resolved and new version of sigul client/server
+    is available to use on the infrastructure.
+
+    https://forums.centos.org/viewtopic.php?t=78708&start=30
+    https://forums.centos.org/viewtopic.php?t=80698