X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ci%2Fjjb%2Fshell%2Fbluval-postbuild.sh;h=364768799e23cb77f4ba70739b577710ac965aff;hb=cb70a29435e04437b845d8b6205cc504e241e049;hp=622ad7a6b6ffc9812de16bd5a9bce843474c5ef0;hpb=71be2cf4ff58c75379dbc774afa3a8475e81cf59;p=icn.git diff --git a/ci/jjb/shell/bluval-postbuild.sh b/ci/jjb/shell/bluval-postbuild.sh index 622ad7a..3647687 100644 --- a/ci/jjb/shell/bluval-postbuild.sh +++ b/ci/jjb/shell/bluval-postbuild.sh @@ -5,7 +5,8 @@ set -o pipefail echo "[ICN] Uninstalling EMCO k8s" cd k8s/kud/hosting_providers/vagrant -ansible-playbook -i inventory/hosts.ini /opt/kubespray-2.12.6/reset.yml --become --become-user=root -e reset_confirmation=yes +version=$(grep "kubespray_version" ../../deployment_infra/playbooks/kud-vars.yml | awk -F ': ' '{print $2}') +ansible-playbook -i inventory/hosts.ini /opt/kubespray-${version}/reset.yml --become --become-user=root -e reset_confirmation=yes echo "[ICN] Purging Docker fully" cat << EOF | tee purge-docker.yml