Skip to content

Commit 855a7cf

Browse files
Merge pull request #21413 from cevich/machine_cron
Include machine-tests in cirrus-cron jobs
2 parents 75e6564 + 39f22c3 commit 855a7cf

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
@@ -390,7 +390,7 @@ alt_build_task:
390390
win_installer_task:
391391
name: "Verify Win Installer Build"
392392
alias: win_installer
393-
only_if:
393+
only_if: # RHEL never releases podman windows installer binary
394394
$CIRRUS_TAG == '' &&
395395
$CIRRUS_BRANCH !=~ 'v[0-9\.]+-rhel' &&
396396
$CIRRUS_BASE_BRANCH !=~ 'v[0-9\.]+-rhel'
@@ -446,7 +446,7 @@ osx_alt_build_task:
446446
name: "OSX Cross"
447447
alias: osx_alt_build
448448
# Docs: ./contrib/cirrus/CIModes.md
449-
only_if: *no_rhel_release
449+
only_if: *no_rhel_release # RHEL never releases podman mac installer binary
450450
depends_on:
451451
- build
452452
persistent_worker: &mac_pw
@@ -722,10 +722,11 @@ podman_machine_task:
722722
alias: podman_machine
723723
# Only run for PRs and never [CI:DOCS] or [CI:BUILD]
724724
# Docs: ./contrib/cirrus/CIModes.md
725-
only_if: &not_tag_branch_build_docs >-
726-
$CIRRUS_PR != '' &&
727-
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
728-
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
725+
only_if: &machine_cron_not_tag_build_docs >-
726+
($CIRRUS_PR != '' &&
727+
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
728+
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
729+
) || $CIRRUS_CRON == "main"
729730
depends_on:
730731
- build
731732
- validate
@@ -752,7 +753,7 @@ podman_machine_task:
752753
podman_machine_aarch64_task:
753754
name: *std_name_fmt
754755
alias: podman_machine_aarch64
755-
only_if: *not_tag_branch_build_docs
756+
only_if: *machine_cron_not_tag_build_docs
756757
depends_on:
757758
- build_aarch64
758759
- validate_aarch64
@@ -779,7 +780,7 @@ podman_machine_windows_task:
779780
alias: podman_machine_windows
780781
# Only run for non-docs/copr PRs and non-release branch builds
781782
# and never for tags. Docs: ./contrib/cirrus/CIModes.md
782-
only_if: *not_tag_branch_build_docs
783+
only_if: *machine_cron_not_tag_build_docs
783784
depends_on:
784785
- alt_build
785786
- build
@@ -805,7 +806,7 @@ podman_machine_windows_task:
805806
podman_machine_mac_task:
806807
name: *std_name_fmt
807808
alias: podman_machine_mac
808-
only_if: *not_tag_branch_build_docs
809+
only_if: *machine_cron_not_tag_build_docs
809810
depends_on:
810811
- osx_alt_build
811812
- local_integration_test

0 commit comments

Comments
 (0)