Browse Source

Make linters and sysinv py27 tests gating

Making the linters and sysinv py27 unit tests voting/gating and
adding a non-voting flake8 job (to be made voting as soon as the
last few errors are cleaned up).

Story: 2003375
Task: 26384

Change-Id: Iab05f89ff893af59982f453e3624152bc588d776
Bart Wensley 7 months ago
parent
commit
57c95495ee
1 changed files with 20 additions and 5 deletions
  1. 20
    5
      .zuul.yaml

+ 20
- 5
.zuul.yaml View File

@@ -2,9 +2,9 @@
2 2
 - project:
3 3
     check:
4 4
       jobs:
5
-        - openstack-tox-linters:
6
-            voting: false
7
-        - sysinv-tox-unittest:
5
+        - openstack-tox-linters
6
+        - sysinv-tox-py27
7
+        - sysinv-tox-flake8:
8 8
             voting: false
9 9
         - controllerconfig-tox-flake8
10 10
         - controllerconfig-tox-py27
@@ -12,16 +12,18 @@
12 12
         - configutilities-tox-flake8
13 13
     gate:
14 14
       jobs:
15
+        - openstack-tox-linters
16
+        - sysinv-tox-py27
15 17
         - controllerconfig-tox-flake8
16 18
         - controllerconfig-tox-py27
17 19
         - controllerconfig-tox-pylint
18 20
         - configutilities-tox-flake8
19 21
 
20 22
 - job:
21
-    name: sysinv-tox-unittest
23
+    name: sysinv-tox-py27
22 24
     parent: tox
23 25
     description: |
24
-      Run unit test for sysinv
26
+      Run py27 test for sysinv
25 27
     required-projects:
26 28
       - openstack/stx-update
27 29
       - openstack/stx-fault
@@ -30,6 +32,19 @@
30 32
       tox_envlist: py27
31 33
       tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
32 34
 
35
+- job:
36
+    name: sysinv-tox-flake8
37
+    parent: tox
38
+    description: |
39
+      Run flake8 test for sysinv
40
+    required-projects:
41
+      - openstack/stx-update
42
+      - openstack/stx-fault
43
+      - openstack/stx-integ
44
+    vars:
45
+      tox_envlist: flake8
46
+      tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
47
+
33 48
 - job:
34 49
     name: controllerconfig-tox-flake8
35 50
     parent: tox

Loading…
Cancel
Save