Add linter for xtesting 64/107964/1
authormrichomme <morgan.richomme@orange.com>
Wed, 20 May 2020 12:34:56 +0000 (14:34 +0200)
committermrichomme <morgan.richomme@orange.com>
Wed, 20 May 2020 12:34:56 +0000 (14:34 +0200)
Issue-ID: INT-1533

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I54e7049e3916aa9400fe97747380baca6f719675

jjb/integration/xtesting/info-integration-xtesting.yaml [deleted file]
jjb/integration/xtesting/integration-xtesting.yaml [new file with mode: 0644]

diff --git a/jjb/integration/xtesting/info-integration-xtesting.yaml b/jjb/integration/xtesting/info-integration-xtesting.yaml
deleted file mode 100644 (file)
index babd9f6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- project:
-    name: integration-xtesting-info
-    project-name: integration-xtesting
-    jobs:
-      - gerrit-info-yaml-verify
-    build-node: centos7-builder-2c-1g
-    project: integration/xtesting
-    branch: master
diff --git a/jjb/integration/xtesting/integration-xtesting.yaml b/jjb/integration/xtesting/integration-xtesting.yaml
new file mode 100644 (file)
index 0000000..ccc1441
--- /dev/null
@@ -0,0 +1,37 @@
+---
+- project:
+    name: integration-xtesting-info
+    project-name: integration-xtesting
+    jobs:
+      - gerrit-info-yaml-verify
+    build-node: centos7-builder-2c-1g
+    project: integration/xtesting
+    branch: master
+
+- project:
+      name: integration-xtesting-linters
+      project: integration/xtesting
+      project-name: integration/xtesting
+      python-version: python3
+      jobs:
+          - integration-linters
+      subproject:
+          - 'yaml':
+                tox-dir: '.'
+                tox-envs: 'yaml'
+                pattern: '**/*.yaml'
+          - 'yml':
+                tox-dir: '.'
+                tox-envs: 'yaml'
+                pattern: '**/*.yml'
+          - 'json':
+                tox-dir: '.'
+                tox-envs: 'json'
+                pattern: '**/*.json'
+          - 'md':
+              tox-dir: '.'
+              tox-envs: 'md'
+              pattern: '**/*.md'
+      stream:
+          - 'master':
+                branch: 'master'