From ba5a918904f73b9b1c12843945f6443bcb7c6a99 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 5 Aug 2020 09:48:04 -0400 Subject: [PATCH] Cirrus: Note matrix filter resolution Signed-off-by: Chris Evich --- .cirrus.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index ce99cb0a5..cd5a56ce6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -62,8 +62,10 @@ testing_task: - lint # Not all $TEST_DRIVER combinations are valid for all OS types. - # Note: Nested-variable resolution happens at runtime, not eval. time. - # Use verbose logic for ease of reading/maintaining. + # N/B: As of the addition of this note, nested-variable resolution + # 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: >- ( $VM_IMAGE =~ '.*UBUNTU.*' && $TEST_DRIVER == "vfs" ) || ( $VM_IMAGE =~ '.*UBUNTU.*' && $TEST_DRIVER == "aufs" ) ||