summaryrefslogtreecommitdiffstats
path: root/xci/files
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-05-17 13:43:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-17 13:43:24 +0000
commit07288509b43a9ec418555e60c77ab45c27958822 (patch)
tree044f47b7f0865f21e59f63d5e55c8fdcfd023c19 /xci/files
parentb11d1cbd52e5ad34ee2e8c0db23c38286f31abf6 (diff)
parentb411c747d04856c33ba5382baaaae94415d647b7 (diff)
Merge "xci: Wipe repositories at the beginning of the deployment"
Diffstat (limited to 'xci/files')
-rwxr-xr-xxci/files/xci-destroy-env.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/files/xci-destroy-env.sh b/xci/files/xci-destroy-env.sh
index 97b76c7c..3de21795 100755
--- a/xci/files/xci-destroy-env.sh
+++ b/xci/files/xci-destroy-env.sh
@@ -21,6 +21,8 @@ rm -rf /opt/stack
# HOME is normally set by sudo -H
rm -rf ${HOME}/.config/openstack
rm -rf ${HOME}/.ansible
+# Wipe repos
+rm -rf ${XCI_CACHE}/repos
# bifrost installs everything on venv so we need to look there if virtualbmc is not installed on the host.
if which vbmc &>/dev/null || { [[ -e ${XCI_VENV}/bifrost/bin/activate ]] && source ${XCI_VENV}/bifrost/bin/activate; }; then