diff options
author | 2018-10-26 13:48:03 +0000 | |
---|---|---|
committer | 2018-10-26 13:48:03 +0000 | |
commit | 94a953b8d99377095b70ab5708d7c0eb9aefd784 (patch) | |
tree | 6822d49644c853678f129c01b9b8e1e50588aee1 | |
parent | 8c075ed7c73ce315707f26dba1145f2bbc9171ab (diff) | |
parent | 351cef7b269f9f79c990ff39bc0205032a4d3465 (diff) |
Merge "Bug fix: match only the scenario name"
-rw-r--r-- | xci/files/xci-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/files/xci-lib.sh b/xci/files/xci-lib.sh index cb0751da..ba730772 100644 --- a/xci/files/xci-lib.sh +++ b/xci/files/xci-lib.sh @@ -199,7 +199,7 @@ ansible_lint() { set -eu local playbooks_dir=(xci/playbooks xci/installer/osa/playbooks xci/installer/kubespray/playbooks) # Extract role from scenario information - local testing_role=$(sed -n "/^- scenario: ${DEPLOY_SCENARIO}/,/^$/p" ${XCI_PATH}/xci/opnfv-scenario-requirements.yml | grep role | rev | cut -d '/' -f -1 | rev) + local testing_role=$(sed -n "/^- scenario: ${DEPLOY_SCENARIO}$/,/^$/p" ${XCI_PATH}/xci/opnfv-scenario-requirements.yml | grep role | rev | cut -d '/' -f -1 | rev) # clear XCI_CACHE rm -rf ${XCI_CACHE}/repos/openstack-ansible-tests |