X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-cleanup-old-images.sh;h=162b2667e96155c1f9bea4f3429c46f9f716f655;hb=3c58e6f3d790405107a895a5bca46b191b4385be;hp=129ab133624cac2b8ac9d487a5cbd9363b317d3a;hpb=fd24b9a1c5e53ef7c3702b37576f3d834d65d8a1;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-cleanup-old-images.sh b/jjb/opendaylight-infra-cleanup-old-images.sh index 129ab1336..162b2667e 100644 --- a/jjb/opendaylight-infra-cleanup-old-images.sh +++ b/jjb/opendaylight-infra-cleanup-old-images.sh @@ -1,16 +1,13 @@ #!/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" +# SPDX-License-Identifier: EPL-1.0 +############################################################################## +# Copyright (c) 2017 The Linux Foundation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################## lftools openstack --os-cloud odlpriv-sandbox \ image cleanup --hide-public=True \