Add YAMLLint for static check 59/26659/1
authorKingPoo <haojingbo@huawei.com>
Tue, 3 Jan 2017 09:03:58 +0000 (04:03 -0500)
committerKingPoo <haojingbo@huawei.com>
Tue, 3 Jan 2017 09:03:58 +0000 (04:03 -0500)
commit51017785538b0447b78e6f6ed5f912c0c6b76eae
treeaabaa10aae3dae61093c3ce2797e7bf7e03b076f
parent37f89bfd0f5860ecffcb347090b8d583fb633eac
Add YAMLLint for static check

JIRA: OCTO-160

1)Install yamllint first in case pod didn't install. If installed, it would
info "already satisfied".

2)delete virtualenv of releng_yamllint.

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: I8591385ed32942e0af7f7afdde435313af5707e5
Signed-off-by: KingPoo <haojingbo@huawei.com>
jjb/global/releng-macros.yml