X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fengine%2Fscripts%2Ffunctest.sh;h=e942011258dd40eccbe5f48d6ab7fb293d64dd35;hb=0b8257d6aa93cd9a6836d7ff4d61403ce9f8451b;hp=654c419d06ee32646fa75f6349df98a916ddc858;hpb=299841ac0e55baa3f49aab1e0e55d353fe1d75ca;p=infra%2Fcicd.git diff --git a/jjb/engine/scripts/functest.sh b/jjb/engine/scripts/functest.sh index 654c419d..e9420112 100755 --- a/jjb/engine/scripts/functest.sh +++ b/jjb/engine/scripts/functest.sh @@ -28,11 +28,10 @@ if [[ "$EXECUTION_MODE" == "offline-deployment" && "$SLAVE_LABEL" != "baremetal- fi # NOTE (fdegir): delete unnecessary stuff to free up space on baremetal jumphost -sudo /bin/rm -rf /tmp/$ARTIFACT_TO_DOWNLOAD \ - /opt/test /opt/stack /httpboot /opt/engine/offline/binaries /opt/engine/offline/containers - /opt/engine/offline/dib /opt/engine/offline/pkg -sudo docker images -a | grep -v CONTAINER | awk '{print $1":"$2}' | \ - xargs -n 1 sudo docker rmi -f || true +sudo /bin/rm -rf /tmp/$ARTIFACT_TO_DOWNLOAD ~/.ara \ + /opt/test /opt/stack /httpboot /opt/engine/offline/binaries /opt/engine/offline/dib \ + /tmp/kubespray_cache > /dev/null 2>&1 || true +sudo docker images -a --format {{.ID}} | xargs -n 1 sudo docker rmi -f > /dev/null 2>&1 || true echo "Info : Cloning infra/test repository" cd $HOME && /bin/rm -rf $WORKSPACE