X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-cleanup-old-images.sh;h=b3b28e1037914a20eb5502998654c0728e5c24e3;hb=dc3446222821ea43d71f9c355a1182c99d2a3c54;hp=129ab133624cac2b8ac9d487a5cbd9363b317d3a;hpb=6c67f2a9c4a299083680db689ceb7d678f3adfaf;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 \