summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-05-27 10:06:18 -0400
committerErik Skultety <eskultet@redhat.com>2022-05-31 17:23:04 +0200
commitb7565a2145c4ba7d65a9fcb660eaa0d55c86b8cd (patch)
tree1f3c90a1fae5340dac3f1b247b5600b60528d23a /ci
parent1c5bc460d3c50575ae086f1f0ab5efbea01b0cca (diff)
downloadlibvirt-b7565a2145c4ba7d65a9fcb660eaa0d55c86b8cd.tar.gz
ci: disable native builds on certain distros
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>
Diffstat (limited to 'ci')
-rw-r--r--ci/gitlab/builds.yml3
-rw-r--r--ci/manifest.yml7
2 files changed, 9 insertions, 1 deletions
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