[libvirt PATCH 2/4] ci: disable native builds on certain distros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 ci/gitlab/builds.yml | 3 +++
 ci/manifest.yml      | 7 ++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ci/gitlab/builds.yml b/ci/gitlab/builds.yml
index e2efeb4f73..255d24b0e2 100644
--- a/ci/gitlab/builds.yml
+++ b/ci/gitlab/builds.yml
@@ -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
 
 
diff --git a/ci/manifest.yml b/ci/manifest.yml
index ad0ec9a53d..a825333048 100644
--- a/ci/manifest.yml
+++ b/ci/manifest.yml
@@ -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
-- 
2.36.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux