Cirrus: Note matrix filter resolution

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2020-08-05 09:48:04 -04:00
parent 01fdbf051d
commit ba5a918904
No known key found for this signature in database
GPG Key ID: 03EDC70FD578067F
1 changed files with 4 additions and 2 deletions

View File

@ -62,8 +62,10 @@ testing_task:
- lint - lint
# Not all $TEST_DRIVER combinations are valid for all OS types. # Not all $TEST_DRIVER combinations are valid for all OS types.
# Note: Nested-variable resolution happens at runtime, not eval. time. # N/B: As of the addition of this note, nested-variable resolution
# Use verbose logic for ease of reading/maintaining. # does not happen for boolean `only_if` expressions. Since $VM_IMAGE
# contains nested variables, we must filter based on that and not the
# actual distro/version value.
only_if: >- only_if: >-
( $VM_IMAGE =~ '.*UBUNTU.*' && $TEST_DRIVER == "vfs" ) || ( $VM_IMAGE =~ '.*UBUNTU.*' && $TEST_DRIVER == "vfs" ) ||
( $VM_IMAGE =~ '.*UBUNTU.*' && $TEST_DRIVER == "aufs" ) || ( $VM_IMAGE =~ '.*UBUNTU.*' && $TEST_DRIVER == "aufs" ) ||