diff options
author | Markos Chandras <mchandras@suse.de> | 2018-04-20 06:49:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-20 06:49:58 +0000 |
commit | a38d37e113b38181162ecaa12983dc2fd8fede38 (patch) | |
tree | 487c15bd10993e2d3ab50805c8ce0aba90984c0d | |
parent | 59678e0bad4c4572d6a2933d60e996bcbdad3aa1 (diff) | |
parent | 8d0f54f3b85d12bd95347f1660fabf649036418f (diff) |
Merge "xci: lib-install: Clear XCI_CACHE prior to downloading openstack-ansible-tests"
-rw-r--r-- | xci/files/install-lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh index 1a6c0b2f..14acab1b 100644 --- a/xci/files/install-lib.sh +++ b/xci/files/install-lib.sh @@ -148,6 +148,9 @@ ansible_lint() { # 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) + # clear XCI_CACHE + rm -rf ${XCI_CACHE}/repos/openstack-ansible-tests + # Clone OSA rules too git clone --quiet --depth 1 https://github.com/openstack/openstack-ansible-tests.git \ ${XCI_CACHE}/repos/openstack-ansible-tests |