X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-cleanup-old-images.sh;h=b3b28e1037914a20eb5502998654c0728e5c24e3;hb=11ff7755f54f173ea81cd477a1dddc695e5c2e04;hp=129ab133624cac2b8ac9d487a5cbd9363b317d3a;hpb=befb9cef2c58c6c5c6d96c6fa0554512006bdc02;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-cleanup-old-images.sh b/jjb/opendaylight-infra-cleanup-old-images.sh index 129ab1336..b3b28e103 100644 --- a/jjb/opendaylight-infra-cleanup-old-images.sh +++ b/jjb/opendaylight-infra-cleanup-old-images.sh @@ -1,16 +1,4 @@ #!/bin/bash -LFTOOLS_DIR="$WORKSPACE/.venv-lftools" -if [ ! -d "$LFTOOLS_DIR" ] -then - virtualenv "$LFTOOLS_DIR" - # shellcheck disable=SC1090 - source "$LFTOOLS_DIR/bin/activate" - pip install --upgrade pip - pip install "lftools>=0.0.10" - pip freeze -fi -# shellcheck disable=SC1090 -source "$LFTOOLS_DIR/bin/activate" lftools openstack --os-cloud odlpriv-sandbox \ image cleanup --hide-public=True \