mirror of
https://github.com/containers/podman.git
synced 2025-06-24 19:42:56 +08:00
Cirrus: Fix unsupported cirrus-cron build status
Every weekday when the `check_cirrus_cron` github-actions workflow runs. It checks the status of all cirrus-cron jobs. If a build is found with a 'FAILED' status, it triggers an alert e-mail to be sent. However, the `test_image_build` is marked as a manually-triggered, resulting in a perpetual status of 'EXECUTING', even if there were failures. Fix this by only allowing the problematic task to run in pull requests without the `[CI:DOCS]` magic keyword. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -776,8 +776,8 @@ image_build_task: &image-build
|
|||||||
|
|
||||||
test_image_build_task:
|
test_image_build_task:
|
||||||
<<: *image-build
|
<<: *image-build
|
||||||
# Allow this to run inside a PR
|
# Allow this to run inside a PR w/ [CI:BUILD]
|
||||||
only_if: $CI == $CI
|
only_if: $CIRRUS_PR != '' && $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*'
|
||||||
# This takes a LONG time, only run when requested. N/B: Any task
|
# This takes a LONG time, only run when requested. N/B: Any task
|
||||||
# made to depend on this one will block FOREVER unless triggered.
|
# made to depend on this one will block FOREVER unless triggered.
|
||||||
trigger_type: manual
|
trigger_type: manual
|
||||||
|
Reference in New Issue
Block a user