summaryrefslogtreecommitdiffstats
path: root/xci/files/install-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xci/files/install-lib.sh')
-rw-r--r--xci/files/install-lib.sh3
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