X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Finfo-file-validate.sh;h=8a4bc6b394f223aa6b9e0aa42697c63b8f9c0d43;hb=b9eb4581940562effcf67863704a3ec2c47ceca0;hp=4b80672b5a76911c57b65a6f679edb513691052c;hpb=471ce0c4f693f556a6714c7e0996f24f00d155af;p=releng%2Fglobal-jjb.git diff --git a/shell/info-file-validate.sh b/shell/info-file-validate.sh index 4b80672b..8a4bc6b3 100755 --- a/shell/info-file-validate.sh +++ b/shell/info-file-validate.sh @@ -12,10 +12,10 @@ echo '--> info-file-validate.sh' set -e -o pipefail PROJECT="${PROJECT:-None}" -virtualenv --quiet "/tmp/v/info" -# shellcheck source=/tmp/v/info/bin/activate disable=SC1091 -source "/tmp/v/info/bin/activate" -pip install PyYAML jsonschema rfc3987 yamllint yq +# shellcheck disable=SC1090 +source ~/lf-env.sh +lf-activate-venv zipp==1.1.0 PyYAML jsonschema rfc3987 yamllint yq +pip freeze # Download info-schema.yaml and yaml-verfy-schema.py wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/info-schema.yaml \