From 024254d655e9023372ec7191d1b9e958e4590464 Mon Sep 17 00:00:00 2001 From: Nicolas Rol Date: Tue, 30 Jul 2024 14:30:44 +0200 Subject: [PATCH 1/5] fix centos repo link Signed-off-by: Nicolas Rol --- .github/workflows/ci_centos7.yml | 4 ++-- .github/workflows/qa_pr_cpp_centos7.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_centos7.yml b/.github/workflows/ci_centos7.yml index 5f45611f..8a4969e3 100644 --- a/.github/workflows/ci_centos7.yml +++ b/.github/workflows/ci_centos7.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 @@ -51,7 +51,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 diff --git a/.github/workflows/qa_pr_cpp_centos7.yml b/.github/workflows/qa_pr_cpp_centos7.yml index 650b0ab0..02116bd7 100644 --- a/.github/workflows/qa_pr_cpp_centos7.yml +++ b/.github/workflows/qa_pr_cpp_centos7.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 @@ -46,7 +46,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 @@ -146,7 +146,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 @@ -164,7 +164,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 @@ -265,7 +265,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 @@ -283,7 +283,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* 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 From 1ee994db61aa1bf03d82076e119910503a796a46 Mon Sep 17 00:00:00 2001 From: Nicolas Rol Date: Tue, 30 Jul 2024 15:13:46 +0200 Subject: [PATCH 2/5] fix ci hopefully Signed-off-by: Nicolas Rol --- .github/workflows/ci_centos7.yml | 4 ++-- .github/workflows/qa_pr_cpp_centos7.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_centos7.yml b/.github/workflows/ci_centos7.yml index 8a4969e3..0a3401f2 100644 --- a/.github/workflows/ci_centos7.yml +++ b/.github/workflows/ci_centos7.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 @@ -51,7 +51,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 diff --git a/.github/workflows/qa_pr_cpp_centos7.yml b/.github/workflows/qa_pr_cpp_centos7.yml index 02116bd7..a0440749 100644 --- a/.github/workflows/qa_pr_cpp_centos7.yml +++ b/.github/workflows/qa_pr_cpp_centos7.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 @@ -46,7 +46,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 @@ -146,7 +146,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 @@ -164,7 +164,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 @@ -265,7 +265,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 @@ -283,7 +283,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=https://mirror.nsc.liu.se/centos-store|g" /etc/yum.repos.d/CentOS-* + sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/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 From 7080cb7ec86688a0e9b8fb53723776fbd5cc80f7 Mon Sep 17 00:00:00 2001 From: Nicolas Rol Date: Tue, 30 Jul 2024 15:26:31 +0200 Subject: [PATCH 3/5] fix ci hopefully Signed-off-by: Nicolas Rol --- .github/workflows/ci_centos7.yml | 4 ++-- .github/workflows/qa_pr_cpp_centos7.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_centos7.yml b/.github/workflows/ci_centos7.yml index 0a3401f2..8ba65517 100644 --- a/.github/workflows/ci_centos7.yml +++ b/.github/workflows/ci_centos7.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 @@ -51,7 +51,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 diff --git a/.github/workflows/qa_pr_cpp_centos7.yml b/.github/workflows/qa_pr_cpp_centos7.yml index a0440749..7b7a39fe 100644 --- a/.github/workflows/qa_pr_cpp_centos7.yml +++ b/.github/workflows/qa_pr_cpp_centos7.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 @@ -46,7 +46,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 @@ -146,7 +146,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 @@ -164,7 +164,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 @@ -265,7 +265,7 @@ jobs: steps: - name: Update mirrors run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 @@ -283,7 +283,7 @@ jobs: - name: Update mirrors again because why not run: | - sed -i 's/mirror.centos.org/archive.kernel.org/centos-vault/g' /etc/yum.repos.d/*.repo + sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 From 6d099d8fecdad3462e09aababc6cd2942e688ee5 Mon Sep 17 00:00:00 2001 From: Nicolas Rol Date: Tue, 30 Jul 2024 15:29:38 +0200 Subject: [PATCH 4/5] fix ci hopefully Signed-off-by: Nicolas Rol --- .github/workflows/ci_centos7.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_centos7.yml b/.github/workflows/ci_centos7.yml index 8ba65517..9684aa95 100644 --- a/.github/workflows/ci_centos7.yml +++ b/.github/workflows/ci_centos7.yml @@ -33,9 +33,9 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Update Dependencies run: | From d64252b330da0db6105b26d6e2a38c0f8bba8976 Mon Sep 17 00:00:00 2001 From: Nicolas Rol Date: Tue, 30 Jul 2024 15:31:24 +0200 Subject: [PATCH 5/5] fix ci hopefully Signed-off-by: Nicolas Rol --- .github/workflows/ci_centos7.yml | 6 ++--- .github/workflows/qa_pr_cpp_centos7.yml | 36 ++++++++++++------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci_centos7.yml b/.github/workflows/ci_centos7.yml index 9684aa95..bc3a0f85 100644 --- a/.github/workflows/ci_centos7.yml +++ b/.github/workflows/ci_centos7.yml @@ -51,9 +51,9 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Install Dependencies 3 run: | diff --git a/.github/workflows/qa_pr_cpp_centos7.yml b/.github/workflows/qa_pr_cpp_centos7.yml index 7b7a39fe..c5f01acb 100644 --- a/.github/workflows/qa_pr_cpp_centos7.yml +++ b/.github/workflows/qa_pr_cpp_centos7.yml @@ -28,9 +28,9 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Update Dependencies run: | @@ -46,9 +46,9 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Install Dependencies 3 run: | @@ -146,9 +146,9 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Update Dependencies run: | @@ -164,9 +164,9 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Install Dependencies 3 run: | @@ -265,9 +265,9 @@ jobs: steps: - name: Update mirrors run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Update Dependencies run: | @@ -283,9 +283,9 @@ jobs: - name: Update mirrors again because why not run: | - sed -i s/mirror.centos.org/archive.kernel.org\/centos-vault/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 + sed -i 's:mirror.centos.org:archive.kernel.org/centos-vault: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 - name: Install Dependencies 3 run: |