summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-05-20 14:34:56 +0200
committermrichomme <morgan.richomme@orange.com>2020-05-20 14:34:56 +0200
commit50be5f8aaa1068f4510452b42194e8a0541502ff (patch)
tree77f04f26a32afe6ec31ab04aaaca55b90ef7d6d5
parentb14460bc802c6de44f4b885ff8df3b681c48d3b6 (diff)
Add linter for xtesting
Issue-ID: INT-1533 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I54e7049e3916aa9400fe97747380baca6f719675
-rw-r--r--jjb/integration/xtesting/info-integration-xtesting.yaml9
-rw-r--r--jjb/integration/xtesting/integration-xtesting.yaml37
2 files changed, 37 insertions, 9 deletions
diff --git a/jjb/integration/xtesting/info-integration-xtesting.yaml b/jjb/integration/xtesting/info-integration-xtesting.yaml
deleted file mode 100644
index babd9f64f..000000000
--- a/jjb/integration/xtesting/info-integration-xtesting.yaml
+++ /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
index 000000000..ccc14414a
--- /dev/null
+++ b/jjb/integration/xtesting/integration-xtesting.yaml
@@ -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'