Browse Source

Selectively run subproject-specific jobs

For test jobs that only run tests in part of the repo we can
run those jobs only when those parts of the repo are modified.

Change-Id: Iefdb6470f0a2ac5f1697e5b19d319b7a010ed4bd
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
Dean Troyer 6 months ago
parent
commit
dc76988868
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      .zuul.yaml

+ 12
- 0
.zuul.yaml View File

@@ -34,6 +34,8 @@
34 34
       - openstack/stx-update
35 35
       - openstack/stx-fault
36 36
       - openstack/stx-integ
37
+    files:
38
+      - sysinv/*
37 39
     vars:
38 40
       tox_envlist: py27
39 41
       tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
@@ -47,6 +49,8 @@
47 49
       - openstack/stx-update
48 50
       - openstack/stx-fault
49 51
       - openstack/stx-integ
52
+    files:
53
+      - sysinv/*
50 54
     vars:
51 55
       tox_envlist: flake8
52 56
       tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
@@ -58,6 +62,8 @@
58 62
     required-projects:
59 63
       - openstack/stx-update
60 64
       - openstack/stx-fault
65
+    files:
66
+      - controllerconfig/*
61 67
     vars:
62 68
       tox_envlist: flake8
63 69
       tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
@@ -69,6 +75,8 @@
69 75
     required-projects:
70 76
       - openstack/stx-update
71 77
       - openstack/stx-fault
78
+    files:
79
+      - controllerconfig/*
72 80
     vars:
73 81
       tox_envlist: py27
74 82
       tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
@@ -80,6 +88,8 @@
80 88
     required-projects:
81 89
       - openstack/stx-update
82 90
       - openstack/stx-fault
91
+    files:
92
+      - controllerconfig/*
83 93
     vars:
84 94
       tox_envlist: pylint
85 95
       tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
@@ -88,6 +98,8 @@
88 98
     name: configutilities-tox-flake8
89 99
     parent: tox
90 100
     description: Run flake8 tests for configutilities
101
+    files:
102
+      - configutilities/*
91 103
     vars:
92 104
       tox_envlist: flake8
93 105
       tox_extra_args: -c configutilities/configutilities/tox.ini

Loading…
Cancel
Save