X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Finfo-file-validate.sh;h=f0c47cbba5bc5702b2dc66773fcc6982f5ae1d6c;hb=refs%2Ftags%2Fv0.42.0;hp=13c27dfb5ea712450c0127cec341ac865c99a417;hpb=317c9015768b7b58ca75dec98c31b25d21521adc;p=releng%2Fglobal-jjb.git diff --git a/shell/info-file-validate.sh b/shell/info-file-validate.sh index 13c27dfb..f0c47cbb 100755 --- a/shell/info-file-validate.sh +++ b/shell/info-file-validate.sh @@ -17,13 +17,12 @@ virtualenv --quiet "/tmp/v/info" source "/tmp/v/info/bin/activate" pip install PyYAML jsonschema rfc3987 yamllint -# Cloning global-jjb to get access to needed scripts -git clone https://github.com/lfit/releng-global-jjb.git +# Download info-schema.yaml and yaml-verfy-schema.py +wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/info-schema.yaml \ +https://raw.githubusercontent.com/lfit/releng-global-jjb/master/yaml-verify-schema.py yamllint INFO.yaml -python releng-global-jjb/yaml-verify-schema.py \ - -s releng-global-jjb/info-schema \ +python yaml-verify-schema.py \ + -s info-schema.yaml \ -y INFO.yaml - -rm -rf releng-global-jjb