aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-15 04:18:03 +0000
committerGitHub <noreply@github.com>2022-07-15 04:18:03 +0000
commitaa7aedc958584434692ce8596ca4778f89a36bfc (patch)
tree5355553da95f323f2dde0cc9a5d591a4b8c249da
parent10bf85c07fefa4b02d90e8727b3d96109f37ab43 (diff)
parentd385914cd92085837d9c5783b0317bfae30ad6ff (diff)
downloadpodman-aa7aedc958584434692ce8596ca4778f89a36bfc.tar.gz
podman-aa7aedc958584434692ce8596ca4778f89a36bfc.tar.bz2
podman-aa7aedc958584434692ce8596ca4778f89a36bfc.zip
Merge pull request #14944 from cevich/machine-label-task
Cirrus: Trigger podman-machine task by label
-rw-r--r--.cirrus.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 14d3540c1..b9c284002 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -588,11 +588,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
- # Manually-triggered task: This is "expensive" to run.
+ # This task costs about $4 per attempt to execute.
+ # Only run it if a magic PR label is present.
# DO NOT ADD THIS TASK AS DEPENDENCY FOR `success_task`
- # it will cause 'success' to block.
- trigger_type: manual
+ # it will cause an infinate-block / never completing build.
+ required_pr_labels: test_podman_machine
depends_on:
- build
- local_integration_test
@@ -879,8 +882,8 @@ success_task:
- remote_integration_test
- container_integration_test
- rootless_integration_test
- # Manually triggered task. If made automatic, remove bypass
- # in contrib/cirrus/cirrus_yaml_test.py for this task.
+ # Label triggered task. If made automatic, remove line below
+ # AND bypass in contrib/cirrus/cirrus_yaml_test.py for this name.
# - podman_machine
- local_system_test
- remote_system_test