Cirrus: Trigger podman-machine task by label

Instead of requiring developers to search for a magic button, make the
task trigger at the time a special PR label is added.  Update comments
accordingly.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich
2022-07-14 12:17:48 -04:00
parent 3637d55191
commit d385914cd9

View File

@ -588,11 +588,14 @@ rootless_integration_test_task:
podman_machine_task: podman_machine_task:
name: *std_name_fmt name: *std_name_fmt
alias: podman_machine 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 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` # DO NOT ADD THIS TASK AS DEPENDENCY FOR `success_task`
# it will cause 'success' to block. # it will cause an infinate-block / never completing build.
trigger_type: manual required_pr_labels: test_podman_machine
depends_on: depends_on:
- build - build
- local_integration_test - local_integration_test
@ -879,8 +882,8 @@ success_task:
- remote_integration_test - remote_integration_test
- container_integration_test - container_integration_test
- rootless_integration_test - rootless_integration_test
# Manually triggered task. If made automatic, remove bypass # Label triggered task. If made automatic, remove line below
# in contrib/cirrus/cirrus_yaml_test.py for this task. # AND bypass in contrib/cirrus/cirrus_yaml_test.py for this name.
# - podman_machine # - podman_machine
- local_system_test - local_system_test
- remote_system_test - remote_system_test