X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Finfo-file-validate.sh;h=8a4bc6b394f223aa6b9e0aa42697c63b8f9c0d43;hb=c8b9acd166fcbd88139a65f7721e522980a0e013;hp=4b80672b5a76911c57b65a6f679edb513691052c;hpb=e3364564e3f63cd337a5aafaadb483ba528ea4d2;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 \