]> xenbits.xensource.com Git - libvirt.git/commitdiff
ci: disable native builds on certain distros
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 27 May 2022 14:06:18 +0000 (10:06 -0400)
committerErik Skultety <eskultet@redhat.com>
Tue, 31 May 2022 15:23:04 +0000 (17:23 +0200)
Currently we do native builds on all distros that are covered
by the support matrix. This reduces that such that we mostly
only run builds on the newest (ie bleeding edge non-released)
version and the oldest version. The effect is that cut out
builds on the newest release version. This is acceptable,
because that version is sandwiched between two versions we
do still test, so unlikely to have failures not already
identified by other jobs.

This has the effect of disabling:

  - AlmaLinux 8 GCC - still has a CLang build
    and CentOS 8 Stream also gives coverage

  - Debian 11 - still has a Debian 10 and Sid
    build

  - Alpine 3.15 - still has a Alpine 3.14 and Edge
    build

Ideally Fedora 35 would be disabled too, but we rely on that
for the integration tests.

The Ubuntu jobs will be handled in the next patch.

The containers are still built since this is cheap-ish.

The build jobs can also be triggered manually if desired.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
ci/gitlab/builds.yml
ci/manifest.yml

index e2efeb4f7397c4e7142289f022cdd124eec1a968..255d24b0e2dff73e60dc45b9b27ec1364e8c5c0b 100644 (file)
@@ -14,6 +14,7 @@ x86_64-almalinux-8:
       optional: true
   allow_failure: false
   variables:
+    LIBVIRT_JOB_OPTIONAL: 1
     NAME: almalinux-8
     RPM: skip
 
@@ -47,6 +48,7 @@ x86_64-alpine-315:
       optional: true
   allow_failure: false
   variables:
+    LIBVIRT_JOB_OPTIONAL: 1
     NAME: alpine-315
 
 
@@ -105,6 +107,7 @@ x86_64-debian-11:
       optional: true
   allow_failure: false
   variables:
+    LIBVIRT_JOB_OPTIONAL: 1
     NAME: debian-11
 
 
index ad0ec9a53da1ecc4d386d16ad812148634fef306..a825333048fea7ac0b93cfe943b63e0ae638170b 100644 (file)
@@ -9,6 +9,7 @@ targets:
   almalinux-8:
     jobs:
       - arch: x86_64
+        builds: false
         variables:
           RPM: skip
 
@@ -20,7 +21,10 @@ targets:
 
   alpine-314: x86_64
 
-  alpine-315: x86_64
+  alpine-315:
+    jobs:
+      - arch: x86_64
+        builds: false
 
   alpine-edge:
     jobs:
@@ -80,6 +84,7 @@ targets:
   debian-11:
     jobs:
       - arch: x86_64
+        builds: false
 
       - arch: x86_64
         suffix: -clang