diff options
author | Markos Chandras <mchandras@suse.de> | 2018-04-06 15:30:17 +0100 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-04-06 15:33:28 +0100 |
commit | 9743bf690567b2cf1fc079768a32213717e297e2 (patch) | |
tree | de7f4a7ae2b1c22e0f6e0a1640f75b40afa0a85a /jjb/apex/apex-unit-test.sh | |
parent | e876599edaaa4ab25a8f4160ef9dc7b3cc97b62f (diff) |
jjb: xci: Only set default scenario if no scenario is set
Previously, the code was already setting the default scenario if we had
changes outside the xci/scenario directory. However, this is somewhat
problematic since scenarios may touch other files which do not necessary
affect other scenarios such as anything in xci/playbooks etc. As such,
lets only set a default scenario if no scenario was set up to that
point. However, since installers and scenarios need to match, we also
need to consider installer changes because we fallback to the default
scenario. Finally, since we are filtering results with 'uniq' we can
simply drop the bash regexps prior to adding the scenario to the array.
Change-Id: Ie961071b3e93d04a860bb6655513654208b1a9d4
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb/apex/apex-unit-test.sh')
0 files changed, 0 insertions, 0 deletions