Add a verification job to testsuitei repository 95/103295/2
authormrichomme <morgan.richomme@orange.com>
Fri, 6 Mar 2020 16:56:47 +0000 (17:56 +0100)
committermrichomme <morgan.richomme@orange.com>
Fri, 6 Mar 2020 17:08:21 +0000 (18:08 +0100)
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>
jjb/testsuite/testsuite.yaml

index fd32c94..df3be18 100644 (file)
     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'