summaryrefslogtreecommitdiffstats
path: root/jjb/testsuite
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-03-06 17:56:47 +0100
committermrichomme <morgan.richomme@orange.com>2020-03-06 18:08:21 +0100
commit11462717f26505a7bb77aac97bfa6edcb92d3472 (patch)
treecdf1abd3b6574db5a8ee7274e1e18bc61e0d44c2 /jjb/testsuite
parent4e22b2d950e92039828aeebffd17029899e24a31 (diff)
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>
Diffstat (limited to 'jjb/testsuite')
-rw-r--r--jjb/testsuite/testsuite.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/jjb/testsuite/testsuite.yaml b/jjb/testsuite/testsuite.yaml
index fd32c94a5..df3be1866 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'