Browse Source

Shard project-pipeline config

We are about to grow a *lot* of jobs in this repo.  To make
the project-pipeline config manageable, shard it into a
each of the jobs files.  This will make it easy to add all the
jobs in the file to the project and avoid having a single giant
list of jobs.

Change-Id: I9677214ead6e5ce62153d64987bb54ebab2856e3
changes/63/668763/1
James E. Blair 1 month ago
parent
commit
8945377001

+ 10
- 0
zuul-tests.d/container-roles-jobs.yaml View File

@@ -26,3 +26,13 @@
26 26
           label: ubuntu-bionic
27 27
         - name: builder
28 28
           label: ubuntu-bionic
29
+
30
+# List all the jobs in this file.
31
+
32
+- project:
33
+    check:
34
+      jobs:
35
+        - zuul-jobs-test-registry
36
+    gate:
37
+      jobs:
38
+        - zuul-jobs-test-registry

+ 10
- 0
zuul-tests.d/general-roles-jobs.yaml View File

@@ -8,3 +8,13 @@
8 8
     files:
9 9
       - ^roles/upload-git-mirror/.*
10 10
       - ^test-playbooks/upload-git-mirror.yaml
11
+
12
+# List all the jobs in this file.
13
+
14
+- project:
15
+    check:
16
+      jobs:
17
+        - zuul-jobs-test-upload-git-mirror
18
+    gate:
19
+      jobs:
20
+        - zuul-jobs-test-upload-git-mirror

+ 10
- 0
zuul-tests.d/jobs.yaml View File

@@ -11,3 +11,13 @@
11 11
     vars:
12 12
       tox_environment:
13 13
         ANSIBLE_ROLES_PATH: ~/src/opendev.org/opendev/base-jobs/roles:~/src/opendev.org/zuul/zuul-jobs/roles
14
+
15
+# List all the jobs in this file.
16
+
17
+- project:
18
+    check:
19
+      jobs:
20
+        - zuul-jobs-test-install-nodejs
21
+    gate:
22
+      jobs:
23
+        - zuul-jobs-test-install-nodejs

+ 10
- 0
zuul-tests.d/js-roles-jobs.yaml View File

@@ -9,3 +9,13 @@
9 9
       test-playbooks/simple-role-test.yaml
10 10
     vars:
11 11
       role_name: install-nodejs
12
+
13
+# List all the jobs in this file.
14
+
15
+- project:
16
+    check:
17
+      jobs:
18
+        - zuul-jobs-test-install-nodejs
19
+    gate:
20
+      jobs:
21
+        - zuul-jobs-test-install-nodejs

+ 4
- 10
zuul-tests.d/project.yaml View File

@@ -1,3 +1,7 @@
1
+# Note, this file is only part of the project definition; there is a project
2
+# definition in each file in this directory as well which is combined with
3
+# this.
4
+
1 5
 - project:
2 6
     templates:
3 7
       - build-tox-docs
@@ -17,11 +21,6 @@
17 21
         - openstack-infra-multinode-integration-ubuntu-trusty
18 22
         - openstack-infra-multinode-integration-ubuntu-xenial
19 23
         - openstack-infra-multinode-integration-opensuse423
20
-        - zuul-jobs-tox-linters
21
-        - zuul-jobs-test-install-nodejs
22
-        - zuul-jobs-test-install-pdk-dependencies
23
-        - zuul-jobs-test-upload-git-mirror
24
-        - zuul-jobs-test-registry
25 24
         - tox-py27
26 25
         - tox-py35
27 26
     gate:
@@ -40,11 +39,6 @@
40 39
         - openstack-infra-multinode-integration-ubuntu-trusty
41 40
         - openstack-infra-multinode-integration-ubuntu-xenial
42 41
         - openstack-infra-multinode-integration-opensuse423
43
-        - zuul-jobs-tox-linters
44
-        - zuul-jobs-test-install-nodejs
45
-        - zuul-jobs-test-install-pdk-dependencies
46
-        - zuul-jobs-test-upload-git-mirror
47
-        - zuul-jobs-test-registry
48 42
         - tox-py27
49 43
         - tox-py35
50 44
     post:

+ 10
- 0
zuul-tests.d/puppet-roles-jobs.yaml View File

@@ -9,3 +9,13 @@
9 9
       test-playbooks/simple-role-test.yaml
10 10
     vars:
11 11
       role_name: install-pdk-dependencies
12
+
13
+# List all the jobs in this file.
14
+
15
+- project:
16
+    check:
17
+      jobs:
18
+        - zuul-jobs-test-install-pdk-dependencies
19
+    gate:
20
+      jobs:
21
+        - zuul-jobs-test-install-pdk-dependencies

Loading…
Cancel
Save