From e513a1c80ec2987dc4508f96e4979c699669ed2c Mon Sep 17 00:00:00 2001 From: KingPoo Date: Wed, 28 Dec 2016 02:52:51 -0500 Subject: 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. 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 --- jjb/releng/opnfv-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb') diff --git a/jjb/releng/opnfv-lint.yml b/jjb/releng/opnfv-lint.yml index cd122d895..ff1ba4f37 100644 --- a/jjb/releng/opnfv-lint.yml +++ b/jjb/releng/opnfv-lint.yml @@ -102,7 +102,7 @@ comment-contains-value: 'reverify' projects: - project-compare-type: 'REG_EXP' - project-pattern: 'compass4nfv' + project-pattern: branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' -- cgit 1.2.3-korg