qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/7] gitlab: don't fail cirrus CI jobs when credits are exhau


From: Thomas Huth
Subject: Re: [PATCH 1/7] gitlab: don't fail cirrus CI jobs when credits are exhausted
Date: Thu, 5 Dec 2024 09:38:55 +0100
User-agent: Mozilla Thunderbird

On 04/12/2024 20.48, Daniel P. Berrangé wrote:
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>
---
  .gitlab-ci.d/cirrus.yml | 2 ++
  1 file changed, 2 insertions(+)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]