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>
This commit is contained in:
Daniel P. Berrangé 2022-05-27 10:06:18 -04:00 committed by Erik Skultety
parent 1c5bc460d3
commit b7565a2145
2 changed files with 9 additions and 1 deletions

View 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

View 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