mirror of
https://github.com/containers/podman.git
synced 2025-06-24 19:42:56 +08:00
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 <cevich@redhat.com>
This commit is contained in:
19
.cirrus.yml
19
.cirrus.yml
@ -391,7 +391,7 @@ alt_build_task:
|
|||||||
win_installer_task:
|
win_installer_task:
|
||||||
name: "Verify Win Installer Build"
|
name: "Verify Win Installer Build"
|
||||||
alias: win_installer
|
alias: win_installer
|
||||||
only_if:
|
only_if: # RHEL never releases podman windows installer binary
|
||||||
$CIRRUS_TAG == '' &&
|
$CIRRUS_TAG == '' &&
|
||||||
$CIRRUS_BRANCH !=~ 'v[0-9\.]+-rhel' &&
|
$CIRRUS_BRANCH !=~ 'v[0-9\.]+-rhel' &&
|
||||||
$CIRRUS_BASE_BRANCH !=~ 'v[0-9\.]+-rhel'
|
$CIRRUS_BASE_BRANCH !=~ 'v[0-9\.]+-rhel'
|
||||||
@ -447,7 +447,7 @@ osx_alt_build_task:
|
|||||||
name: "OSX Cross"
|
name: "OSX Cross"
|
||||||
alias: osx_alt_build
|
alias: osx_alt_build
|
||||||
# Docs: ./contrib/cirrus/CIModes.md
|
# Docs: ./contrib/cirrus/CIModes.md
|
||||||
only_if: *no_rhel_release
|
only_if: *no_rhel_release # RHEL never releases podman mac installer binary
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
||||||
persistent_worker: &mac_pw
|
persistent_worker: &mac_pw
|
||||||
@ -723,10 +723,11 @@ podman_machine_task:
|
|||||||
alias: podman_machine
|
alias: podman_machine
|
||||||
# Only run for PRs and never [CI:DOCS] or [CI:BUILD]
|
# Only run for PRs and never [CI:DOCS] or [CI:BUILD]
|
||||||
# Docs: ./contrib/cirrus/CIModes.md
|
# Docs: ./contrib/cirrus/CIModes.md
|
||||||
only_if: ¬_tag_branch_build_docs >-
|
only_if: &machine_cron_not_tag_build_docs >-
|
||||||
$CIRRUS_PR != '' &&
|
($CIRRUS_PR != '' &&
|
||||||
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
|
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
|
||||||
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
|
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
|
||||||
|
) || $CIRRUS_CRON == "main"
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
||||||
- validate
|
- validate
|
||||||
@ -754,7 +755,7 @@ podman_machine_task:
|
|||||||
podman_machine_aarch64_task:
|
podman_machine_aarch64_task:
|
||||||
name: *std_name_fmt
|
name: *std_name_fmt
|
||||||
alias: podman_machine_aarch64
|
alias: podman_machine_aarch64
|
||||||
only_if: *not_tag_branch_build_docs
|
only_if: *machine_cron_not_tag_build_docs
|
||||||
depends_on:
|
depends_on:
|
||||||
- build_aarch64
|
- build_aarch64
|
||||||
- validate_aarch64
|
- validate_aarch64
|
||||||
@ -782,7 +783,7 @@ podman_machine_windows_task:
|
|||||||
alias: podman_machine_windows
|
alias: podman_machine_windows
|
||||||
# Only run for non-docs/copr PRs and non-release branch builds
|
# Only run for non-docs/copr PRs and non-release branch builds
|
||||||
# and never for tags. Docs: ./contrib/cirrus/CIModes.md
|
# and never for tags. Docs: ./contrib/cirrus/CIModes.md
|
||||||
only_if: *not_tag_branch_build_docs
|
only_if: *machine_cron_not_tag_build_docs
|
||||||
depends_on:
|
depends_on:
|
||||||
- alt_build
|
- alt_build
|
||||||
- build
|
- build
|
||||||
@ -808,7 +809,7 @@ podman_machine_windows_task:
|
|||||||
podman_machine_mac_task:
|
podman_machine_mac_task:
|
||||||
name: *std_name_fmt
|
name: *std_name_fmt
|
||||||
alias: podman_machine_mac
|
alias: podman_machine_mac
|
||||||
only_if: *not_tag_branch_build_docs
|
only_if: *machine_cron_not_tag_build_docs
|
||||||
depends_on:
|
depends_on:
|
||||||
- osx_alt_build
|
- osx_alt_build
|
||||||
- local_integration_test
|
- local_integration_test
|
||||||
|
Reference in New Issue
Block a user