Skip to content

Commit

Permalink
fix: stop using mirror.centos.org repo in e2e tests (#1867)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha authored Jul 5, 2024
1 parent 88dcc0e commit 3889256
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .ci/openshift-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19

SHELL ["/bin/bash", "-c"]

# Temporary workaround since mirror.centos.org is down and can be replaced with vault.centos.org
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

# Install yq, kubectl, chectl cli.
RUN yum install --assumeyes -d1 python3-pip nodejs && \
pip3 install --upgrade pip && \
Expand Down

0 comments on commit 3889256

Please sign in to comment.