]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Move definition of exit codes allowed to fail for cirrus jobs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 23 Oct 2024 06:49:07 +0000 (08:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Oct 2024 09:07:01 +0000 (11:07 +0200)
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>
ci/gitlab/build-templates.yml
ci/gitlab/builds.yml

index 31a901e47cd78c3dda84d4617f33894127015c5e..b1e41b0783d9a059bf49454651e4a3d2eb67f15b 100644 (file)
   image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:latest
   interruptible: true
   needs: []
-  allow_failure:
-    exit_codes: 3
   script:
     - set -o allexport
     - source ci/cirrus/$NAME.vars
index 771fa67501f76e7658dedb3d026ac99cd78a4034..c24421378c519f5d06613ff92a928b57c6fa128d 100644 (file)
@@ -599,7 +599,8 @@ mingw64-fedora-rawhide:
 x86_64-freebsd-13:
   extends: .cirrus_build_job
   needs: []
-  allow_failure: false
+  allow_failure:
+    exit_codes: 3
   variables:
     CIRRUS_VM_IMAGE_NAME: freebsd-13-3
     CIRRUS_VM_IMAGE_SELECTOR: image_family
@@ -613,7 +614,8 @@ x86_64-freebsd-13:
 x86_64-freebsd-14:
   extends: .cirrus_build_job
   needs: []
-  allow_failure: false
+  allow_failure:
+    exit_codes: 3
   variables:
     CIRRUS_VM_IMAGE_NAME: freebsd-14-0
     CIRRUS_VM_IMAGE_SELECTOR: image_family
@@ -627,7 +629,8 @@ x86_64-freebsd-14:
 aarch64-macos-14:
   extends: .cirrus_build_job
   needs: []
-  allow_failure: false
+  allow_failure:
+    exit_codes: 3
   variables:
     CIRRUS_VM_IMAGE_NAME: ghcr.io/cirruslabs/macos-runner:sonoma
     CIRRUS_VM_IMAGE_SELECTOR: image