]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible: remove fetch directory in teardown
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 28 May 2018 14:09:13 +0000 (16:09 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 28 May 2018 14:14:39 +0000 (16:14 +0200)
Remove the fetch directory in teardown for ceph-ansible to avoid
keeping leftover from previous jobs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
scripts/build_utils.sh

index 540548dfd335ffb278b65d623f8888fd1ad0063a..c0d58fa53b3a085176587eb6ba136ae8a9e3ed29 100644 (file)
@@ -760,6 +760,7 @@ teardown_vagrant_tests() {
         # collect all ceph logs from all test nodes
         collect_ceph_logs all
         vagrant destroy -f
+        stat ./fetch > /dev/null 2>&1 && rm -rf ./fetch
         cd -
     done