ci: Move definition of exit codes allowed to fail for cirrus jobs

Update with latest lcitool.

Update the build templates to move the definition of exit codes which
are allowed to fail for cirrus jobs for cases when we run out of CI
minutes. The previous location was overridden with the per-job
'allow_failure' value and thus didn't apply.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2024-10-23 08:49:07 +02:00
parent d60979f731
commit 3e98349542
2 changed files with 6 additions and 5 deletions

View File

@ -282,8 +282,6 @@
image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:latest image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:latest
interruptible: true interruptible: true
needs: [] needs: []
allow_failure:
exit_codes: 3
script: script:
- set -o allexport - set -o allexport
- source ci/cirrus/$NAME.vars - source ci/cirrus/$NAME.vars

View File

@ -599,7 +599,8 @@ mingw64-fedora-rawhide:
x86_64-freebsd-13: x86_64-freebsd-13:
extends: .cirrus_build_job extends: .cirrus_build_job
needs: [] needs: []
allow_failure: false allow_failure:
exit_codes: 3
variables: variables:
CIRRUS_VM_IMAGE_NAME: freebsd-13-3 CIRRUS_VM_IMAGE_NAME: freebsd-13-3
CIRRUS_VM_IMAGE_SELECTOR: image_family CIRRUS_VM_IMAGE_SELECTOR: image_family
@ -613,7 +614,8 @@ x86_64-freebsd-13:
x86_64-freebsd-14: x86_64-freebsd-14:
extends: .cirrus_build_job extends: .cirrus_build_job
needs: [] needs: []
allow_failure: false allow_failure:
exit_codes: 3
variables: variables:
CIRRUS_VM_IMAGE_NAME: freebsd-14-0 CIRRUS_VM_IMAGE_NAME: freebsd-14-0
CIRRUS_VM_IMAGE_SELECTOR: image_family CIRRUS_VM_IMAGE_SELECTOR: image_family
@ -627,7 +629,8 @@ x86_64-freebsd-14:
aarch64-macos-14: aarch64-macos-14:
extends: .cirrus_build_job extends: .cirrus_build_job
needs: [] needs: []
allow_failure: false allow_failure:
exit_codes: 3
variables: variables:
CIRRUS_VM_IMAGE_NAME: ghcr.io/cirruslabs/macos-runner:sonoma CIRRUS_VM_IMAGE_NAME: ghcr.io/cirruslabs/macos-runner:sonoma
CIRRUS_VM_IMAGE_SELECTOR: image CIRRUS_VM_IMAGE_SELECTOR: image