X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fodl-openstack-check-image-protection.sh;h=76a68e5bc040f3acf7f17a0c469ab6d98d669499;hb=acb0c7c60dad3e06ddcfb29bcd76a6297c10c128;hp=77a669e0bbbe6a59628228f4c87284677ce35f8e;hpb=7bccdd823b714cc2834687af9b13b29a26847ee1;p=releng%2Fbuilder.git diff --git a/jjb/odl-openstack-check-image-protection.sh b/jjb/odl-openstack-check-image-protection.sh index 77a669e0b..76a68e5bc 100644 --- a/jjb/odl-openstack-check-image-protection.sh +++ b/jjb/odl-openstack-check-image-protection.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -17,9 +17,6 @@ # by the cleanup old images job. echo "---> Check image protection" -# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091 -source "/tmp/v/openstack/bin/activate" - declare -a yaml_images readarray -t yaml_images <<< "$(grep -r _system_image: --include \*.yaml \ | awk -F": " -e '{print $3}' | sed "s:'::;s:'$::;/^$/d" | sort -u)"