[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:
Chris Evich
2022-11-29 14:09:44 -05:00
parent d8d84e92c0
commit 1c1a8d33f6

View File

@ -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: