X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Finfo-file-validate.sh;h=13c27dfb5ea712450c0127cec341ac865c99a417;hb=2a10c83b2d506008cc6c01c134515fb6328e1f3a;hp=c3731f4de2622c3a7ec369f667e02d99bb9e88df;hpb=b83660faf15e9b6983d5d6baa031ecec710140b8;p=releng%2Fglobal-jjb.git diff --git a/shell/info-file-validate.sh b/shell/info-file-validate.sh index c3731f4d..13c27dfb 100755 --- a/shell/info-file-validate.sh +++ b/shell/info-file-validate.sh @@ -15,11 +15,13 @@ set -x # Enable trace 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 +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 +yamllint INFO.yaml + python releng-global-jjb/yaml-verify-schema.py \ -s releng-global-jjb/info-schema \ -y INFO.yaml