NO-ISSUE: sporadic ci failure to get epel metadata
building assisted-service-build in ci fails sporadically
with the message:
Cannot retrieve metalink for repository: epel/x86_64
cleaning the cache and updating certificates was recommended as
the course of action to reduce the probability of such an error
@@ -53,11 +53,11 @@ function assisted_service() {
install -o root -g root -m 0755 /tmp/kubectl /usr/local/bin/kubectl && \
rm -f /tmp/kubectl
+ yum clean all && yum makecache
+ yum --disablerepo=epel -y update ca-certificates
yum install -y --setopt=skip_missing_names_on_install=False \
docker podman awscli python3-pip genisoimage skopeo p7zip
- yum clean all
-
butane
kustomize
