From daf747f169e869713a392f0a2e140d3d59699e25 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 11 Jan 2023 11:58:14 -0500 Subject: [PATCH] Cirrus: Run machine tests on PR merge Prior to this commit, the podman-machine tests only ran for PRs. However, now that these tasks are also being used to capture a uniform set of performance benchmarks, they should probably run on branches as well. This also fixes a stream of branch-CI run failures due to the artifacts-task failing to download/archive (missing) benchmark data. Signed-off-by: Chris Evich --- .cirrus.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 534fdf7f89..3b31d2919d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -643,9 +643,14 @@ rootless_integration_test_task: podman_machine_task: name: *std_name_fmt alias: podman_machine - # Required_pr_labels does not apply to non-PRs. - # Do not run on tags, branches, [CI:BUILD], or [CI:DOCS]. - only_if: *not_tag_branch_build_docs + # Don't create task for tags, or if using [CI:DOCS], [CI:BUILD], multiarch + # Docs: ./contrib/cirrus/CIModes.md + only_if: ¬_tag_build_docs_multiarch >- + $CIRRUS_TAG == '' && + $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' && + $CIRRUS_CHANGE_TITLE !=~ '.*CI:COPR.*' && + $CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*' && + $CIRRUS_CRON != 'multiarch' depends_on: - build - local_integration_test @@ -675,7 +680,7 @@ podman_machine_task: podman_machine_aarch64_task: name: *std_name_fmt alias: podman_machine_aarch64 - only_if: *not_tag_branch_build_docs + only_if: *not_tag_build_docs_multiarch depends_on: - build_aarch64 - validate_aarch64 @@ -705,14 +710,7 @@ podman_machine_aarch64_task: local_system_test_task: &local_system_test_task name: *std_name_fmt alias: local_system_test - # Don't create task for tags, or if using [CI:DOCS], [CI:BUILD], multiarch - # Docs: ./contrib/cirrus/CIModes.md - only_if: ¬_tag_build_docs_multiarch >- - $CIRRUS_TAG == '' && - $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' && - $CIRRUS_CHANGE_TITLE !=~ '.*CI:COPR.*' && - $CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*' && - $CIRRUS_CRON != 'multiarch' + only_if: *not_tag_build_docs_multiarch depends_on: - build - local_integration_test