Run yamllint as part of info-file-validate.sh
to catch lint errors.
Change-Id: I4bf3e85b69481f7e5cdca989af1e7ec034966538
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Add yamllint verification to INFO.yaml files.
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