]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Move from 'centos-8' to 'almalinux-8'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 Feb 2022 16:44:12 +0000 (17:44 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Feb 2022 08:33:03 +0000 (09:33 +0100)
Upstream lcitool suggests that as a solution to 'centos-8' being
removed.

Move also the website and other jobs to depend on
'x86_64-almalinux-8-container'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.gitlab-ci.yml
ci/containers/almalinux-8.Dockerfile [moved from ci/containers/centos-8.Dockerfile with 98% similarity]
ci/gitlab.yml
ci/manifest.yml

index 6ba11a043147e0d17c9a72d8c6568f4e0b1b704e..24533a937afc54d4ef5619b55f8bcc589bf96743 100644 (file)
@@ -56,9 +56,9 @@ include: '/ci/gitlab.yml'
 #    https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=website
 website:
   stage: builds
-  image: $CI_REGISTRY_IMAGE/ci-centos-8:latest
+  image: $CI_REGISTRY_IMAGE/ci-almalinux-8:latest
   needs:
-    - x86_64-centos-8-container
+    - x86_64-almalinux-8-container
   before_script:
     - *script_variables
   script:
@@ -92,9 +92,9 @@ codestyle:
 #    https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=potfile
 potfile:
   stage: builds
-  image: $CI_REGISTRY_IMAGE/ci-centos-8:latest
+  image: $CI_REGISTRY_IMAGE/ci-almalinux-8:latest
   needs:
-    - x86_64-centos-8-container
+    - x86_64-almalinux-8-container
   rules:
     - if: "$CI_COMMIT_BRANCH == 'master'"
   before_script:
@@ -114,9 +114,9 @@ potfile:
 
 # Coverity job that is run only by schedules
 coverity:
-  image: $CI_REGISTRY_IMAGE/ci-centos-8:latest
+  image: $CI_REGISTRY_IMAGE/ci-almalinux-8:latest
   needs:
-    - x86_64-centos-8-container
+    - x86_64-almalinux-8-container
   stage: builds
   script:
     - curl https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN -o /tmp/cov-analysis-linux64.tgz
similarity index 98%
rename from ci/containers/centos-8.Dockerfile
rename to ci/containers/almalinux-8.Dockerfile
index f01ca6a0d9d1e43d2b44d0c4f3e56a2983be2fb7..55ce0908a3074df1b69c2281c384409156c625a0 100644 (file)
@@ -4,7 +4,7 @@
 #
 # https://gitlab.com/libvirt/libvirt-ci
 
-FROM docker.io/library/centos:8
+FROM docker.io/library/almalinux:8
 
 RUN dnf update -y && \
     dnf install 'dnf-command(config-manager)' -y && \
index 48e6363c7c2461aa8fa80cae4c46f051c9df5627..cc03a2fe49f82e9f2eaa6290757781bc8e8e73e5 100644 (file)
@@ -80,11 +80,11 @@ check-dco:
 
 # Native container jobs
 
-x86_64-centos-8-container:
+x86_64-almalinux-8-container:
   extends: .container_job
   allow_failure: false
   variables:
-    NAME: centos-8
+    NAME: almalinux-8
 
 
 x86_64-centos-stream-8-container:
@@ -379,24 +379,24 @@ mingw64-fedora-rawhide-container:
 
 # Native build jobs
 
-x86_64-centos-8:
+x86_64-almalinux-8:
   extends: .native_build_job
   needs:
-    - x86_64-centos-8-container
+    - x86_64-almalinux-8-container
   allow_failure: false
   variables:
-    NAME: centos-8
+    NAME: almalinux-8
     RPM: skip
 
 
-x86_64-centos-8-clang:
+x86_64-almalinux-8-clang:
   extends: .native_build_job
   needs:
-    - x86_64-centos-8-container
+    - x86_64-almalinux-8-container
   allow_failure: false
   variables:
     CC: clang
-    NAME: centos-8
+    NAME: almalinux-8
     RPM: skip
 
 
index 1cc589955c7954835dd7bcc21bc33c6051898aea..87d923ae78393cd308e3e8ff852c737fe2d49d7f 100644 (file)
@@ -6,7 +6,7 @@ gitlab:
   project: libvirt
 
 targets:
-  centos-8:
+  almalinux-8:
     jobs:
       - arch: x86_64
         variables: