mirror of
https://github.com/containers/podman.git
synced 2025-06-04 04:56:32 +08:00
[CI:DOCS] Skip windows-smoke when not useful
It's important to actually perform a windows build for a `[CI:DOCS]` PR since it verifies and includes a copy of the docs. However, it's not necessary to actually test if the installer functions or not. That task should happen in other contexts. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -524,8 +524,13 @@ compose_test_task:
|
||||
windows_smoke_test_task:
|
||||
name: "Windows Smoke Test"
|
||||
alias: windows_smoke_test
|
||||
# Don't run for multiarch/container image cirrus-cron job.
|
||||
only_if: $CIRRUS_CRON != 'multiarch'
|
||||
# Only run for non-docs/copr PRs and non-multiarch branch builds
|
||||
# and never for tags. Docs: ./contrib/cirrus/CIModes.md
|
||||
only_if: >-
|
||||
$CIRRUS_TAG == '' &&
|
||||
$CIRRUS_CRON != 'multiarch' &&
|
||||
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
|
||||
$CIRRUS_CHANGE_TITLE !=~ '.*CI:COPR.*'
|
||||
depends_on:
|
||||
- alt_build
|
||||
ec2_instance:
|
||||
|
Reference in New Issue
Block a user