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@xxxxxxxxx> --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.45.2