Skip to content

Commit

Permalink
ci: point C8S containers to the Vault
Browse files Browse the repository at this point in the history
[tcornell: This has been cherry picked from downstream systemd-rhel8
commit 3aae107]

Temporarily point repos in C8S containers to the Vault (since C8S is
EOL), until we figure out a _proper_ solution.

Related: RHEL-1087
  • Loading branch information
tcornell-bus committed Nov 18, 2024
1 parent cdab93a commit c1eab42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ for phase in "${PHASES[@]}"; do

# Beautiful workaround for Fedora's version of Docker
sleep 1
# FIXME?: Point C8S repos to the Vault, since C8S is EOL
$DOCKER_EXEC bash -xec "sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*"
$DOCKER_EXEC bash -xec "sed -i 's|#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' /etc/yum.repos.d/CentOS-*"
$DOCKER_EXEC dnf makecache
# Install and enable EPEL
$DOCKER_EXEC dnf -q -y install epel-release dnf-utils "${ADDITIONAL_DEPS[@]}"
Expand Down

0 comments on commit c1eab42

Please sign in to comment.