]> git.ipfire.org Git - thirdparty/qemu.git/commit
gitlab: don't fail cirrus CI jobs when credits are exhausted
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 4 Dec 2024 19:48:01 +0000 (19:48 +0000)
committerThomas Huth <thuth@redhat.com>
Tue, 11 Feb 2025 12:27:07 +0000 (13:27 +0100)
commit7976879c4b8439d78865c7ce98297f51cc90d061
treeef17f4bca8655cdb4f0bd00dc4500902f3f61083
parent557277710ae7f66ae572a362ac32a8b865e7104e
gitlab: don't fail cirrus CI jobs when credits are exhausted

In the last week of the month we have often run out of credits on
Cirrus CI, which causes the jobs to fail, in turn causing the
overall pipeline to fail.

The cirrus-run tool can now detect the "out of credits" scenario
and exits with a code of '3'.  We can tell gitlab to treat this
exit code as special and mark the job as "warning" instead of
"failed". This allows the pipeline status overall to remain
green, when we have non-technical issues with Cirrus CI.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241204194807.1472261-2-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/cirrus.yml