Add a verification job to testsuitei repository
leverage on integration verification job
include linters for
- json
- yaml
- robot
the tox configuration has been prepared in another patch [1]
Issue-ID: INT-1478
[1]: https://gerrit.onap.org/r/c/testsuite/+/103291
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I2ffcecf8ef04782839807114721913c1f81d74e4
Signed-off-by: mrichomme <morgan.richomme@orange.com>
diff --git a/jjb/testsuite/testsuite.yaml b/jjb/testsuite/testsuite.yaml
index fd32c94..df3be18 100644
--- a/jjb/testsuite/testsuite.yaml
+++ b/jjb/testsuite/testsuite.yaml
@@ -56,3 +56,27 @@
build-node: centos7-builder-2c-1g
project: testsuite
branch: master
+
+- project:
+ name: testsuite-linters
+ project: 'testsuite'
+ project-name: 'testsuite'
+ python-version: python3
+ jobs:
+ - '{project-name}-{stream}-{subproject}-lint'
+ subproject:
+ - 'yaml':
+ tox-dir: '.'
+ tox-envs: 'yaml'
+ pattern: '**/*.yaml|**/*.yml'
+ - 'json':
+ tox-dir: '.'
+ tox-envs: 'json'
+ pattern: '**/*.json'
+ - 'robot':
+ tox-dir: '.'
+ tox-envs: 'robot'
+ pattern: '**/*.robot'
+ stream:
+ - 'master':
+ branch: 'master'