Skip to content

Commit

Permalink
ci: point C8S containers to the Vault
Browse files Browse the repository at this point in the history
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
mrc0mmand authored and jamacku committed Nov 7, 2024
1 parent 77a215e commit 3aae107
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 @@ -138,6 +138,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 3aae107

Please sign in to comment.