Add YAMLLint for static check 57/26557/1
authorKingPoo <haojingbo@huawei.com>
Wed, 28 Dec 2016 07:52:51 +0000 (02:52 -0500)
committerKingPoo <haojingbo@huawei.com>
Wed, 28 Dec 2016 07:52:51 +0000 (02:52 -0500)
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.

lf-build1 is something wrong with git, it will affect compass4nfv's patch to check in.
So cancel the config of project-pattern.

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

index cd122d8..ff1ba4f 100644 (file)
                     comment-contains-value: 'reverify'
             projects:
               - project-compare-type: 'REG_EXP'
-                project-pattern: 'compass4nfv'
+                project-pattern:
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'