Add YAMLLint for static check 17/25717/9
authorKingPoo <haojingbo@huawei.com>
Fri, 9 Dec 2016 08:49:24 +0000 (03:49 -0500)
committerKingPoo <haojingbo@huawei.com>
Sat, 24 Dec 2016 11:35:36 +0000 (06:35 -0500)
commitcc6e26648833778050e4a59096edee69b538f92b
tree380dd829df5a61da4df96896f180b09ec17c80b2
parent59f96c0b4fb704339bf45c8af943070f6adcf7b9
Add YAMLLint for static check

JIRA: OCTO-160

Current CI commit gate is simple, just have flake8 check in part of projects,
it's better to apply more check tools to more projects.
Yaml files could be checked by YAMLLint when the project is configed in releng.
YAMLLint does not only check for syntax validity, but for weirdnesses like key
repetition and cosmetic problems such as lines length, trailing spaces, indentation,
etc.

Change-Id: Ie90afd4a07ad10cc723f31efd35e5605f765583c
Signed-off-by: KingPoo <haojingbo@huawei.com>
jjb/global/releng-macros.yml
jjb/releng/opnfv-lint.yml