Skip to content

Commit

Permalink
Fix: Update CentOS 7 mirrorlist to vault
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
askb committed Jul 3, 2024
1 parent 3330259 commit 7457547
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7457547

Please sign in to comment.