From: Anil Belur Date: Wed, 3 Jul 2024 11:12:24 +0000 (+1000) Subject: Fix: Update CentOS 7 mirrorlist to vault X-Git-Tag: v0.90.10~3 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F72989%2F1;p=releng%2Fglobal-jjb.git 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 Issue: RELENG-5419 Change-Id: Ic193107a29aa83a2ee3c2cc356ca624522cc94f9 Signed-off-by: Anil Belur --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 06ccf769..53ad6150 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 index 00000000..ad535c81 --- /dev/null +++ b/releasenotes/notes/update-centos-mirros-for-sigul-af89f3ddee6d237a.yaml @@ -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