[OOM] add tox job with commit message linting 55/116155/2
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 7 Dec 2020 08:59:18 +0000 (09:59 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 8 Dec 2020 11:12:18 +0000 (12:12 +0100)
OOM team wants to add more and more linters on the code / files proposed
to the project.
This commit add the framework with tox + commit message linting.

Issue-ID: OOM-2644
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I8ffba73107f95a413e069b6514e83718202c22cb

jjb/oom/oom-main-linter.yaml [new file with mode: 0644]

diff --git a/jjb/oom/oom-main-linter.yaml b/jjb/oom/oom-main-linter.yaml
new file mode 100644 (file)
index 0000000..8ede0ab
--- /dev/null
@@ -0,0 +1,19 @@
+- project:
+    name: oom-main-linters
+    project: oom
+    project-name: oom
+    python-version: python3
+    jobs:
+      - oom-linters
+    subproject:
+      - "commit":
+          tox-dir: "."
+          tox-envs: "gitlint"
+          pattern: "**"
+    stream:
+      - "master":
+          branch: "master"
+      - "frankfurt":
+          branch: "frankfurt"
+      - "guilin":
+          branch: "guilin"