Skip to content

Commit 39f22c3

Browse files
committed
Include machine-tests in cirrus-cron jobs
Irrespective of reason/cause, a commit was merged into main that broke podman-machine, and went unnoticed for several days. Improve the situation by including podman-machine testing in the daily cirrus-cron builds. These are monitored by e-mail when `Total Success` reports a failure. Also: Add a comment for Windows & Mac build tasks, documenting the reason they don't execute on RHEL release branches. Signed-off-by: Chris Evich <[email protected]>
1 parent 11c37d5 commit 39f22c3

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.cirrus.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ alt_build_task:
391391
win_installer_task:
392392
name: "Verify Win Installer Build"
393393
alias: win_installer
394-
only_if:
394+
only_if: # RHEL never releases podman windows installer binary
395395
$CIRRUS_TAG == '' &&
396396
$CIRRUS_BRANCH !=~ 'v[0-9\.]+-rhel' &&
397397
$CIRRUS_BASE_BRANCH !=~ 'v[0-9\.]+-rhel'
@@ -447,7 +447,7 @@ osx_alt_build_task:
447447
name: "OSX Cross"
448448
alias: osx_alt_build
449449
# Docs: ./contrib/cirrus/CIModes.md
450-
only_if: *no_rhel_release
450+
only_if: *no_rhel_release # RHEL never releases podman mac installer binary
451451
depends_on:
452452
- build
453453
persistent_worker: &mac_pw
@@ -723,10 +723,11 @@ podman_machine_task:
723723
alias: podman_machine
724724
# Only run for PRs and never [CI:DOCS] or [CI:BUILD]
725725
# Docs: ./contrib/cirrus/CIModes.md
726-
only_if: &not_tag_branch_build_docs >-
727-
$CIRRUS_PR != '' &&
728-
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
729-
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
726+
only_if: &machine_cron_not_tag_build_docs >-
727+
($CIRRUS_PR != '' &&
728+
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
729+
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
730+
) || $CIRRUS_CRON == "main"
730731
depends_on:
731732
- build
732733
- validate
@@ -754,7 +755,7 @@ podman_machine_task:
754755
podman_machine_aarch64_task:
755756
name: *std_name_fmt
756757
alias: podman_machine_aarch64
757-
only_if: *not_tag_branch_build_docs
758+
only_if: *machine_cron_not_tag_build_docs
758759
depends_on:
759760
- build_aarch64
760761
- validate_aarch64
@@ -782,7 +783,7 @@ podman_machine_windows_task:
782783
alias: podman_machine_windows
783784
# Only run for non-docs/copr PRs and non-release branch builds
784785
# and never for tags. Docs: ./contrib/cirrus/CIModes.md
785-
only_if: *not_tag_branch_build_docs
786+
only_if: *machine_cron_not_tag_build_docs
786787
depends_on:
787788
- alt_build
788789
- build
@@ -808,7 +809,7 @@ podman_machine_windows_task:
808809
podman_machine_mac_task:
809810
name: *std_name_fmt
810811
alias: podman_machine_mac
811-
only_if: *not_tag_branch_build_docs
812+
only_if: *machine_cron_not_tag_build_docs
812813
depends_on:
813814
- osx_alt_build
814815
- local_integration_test

0 commit comments

Comments
 (0)