Message ID | 20240726070456.467533-2-npiggin@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Checking and CI improvements | expand |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0eb85a94..823f03c3e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -300,6 +300,10 @@ build-centos7: extends: .outoftree_template image: centos:7 before_script: +# CentOS mirrors have changed, these sed scripts fixes the repos. + - 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 - yum update -y - yum install -y make python qemu-kvm gcc script:
The CentOS repository URLs have changed, so the centos7 job no longer runs. Apply a recipe from the internet that gets it going again. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+)