Browse Source

Deprecate tripleo stable/{newton,ocata} jobs

Non-containerized jobs were running for stable/newton and
stable/ocata branches and are no longer supported.

  - Move deprecated jobs into a separate zuul config file
  - Reparent deprecated jobs to tripleo-ci-deprecated
  - Add a playbook with deprecated warning
  - Disable jobs with 'branches: none/deprecated' filter
  - Remove/disable non-containerized scenario jobs from layout
  - Add noop to templates with non-contrainerized jobs only
      * tripleo-multinode-baremetal-minimal template
      * tripleo-multinode-baremetal-full template
  - Rename (create a copy for) scen006 and scen009 with a
    '-container' suffix as these are containerized

As tripleo-ci repo is not branched, all the projects that have
these jobs in their zuul config (including all branches) will be
affected. Therefore, a cleanup is required to deprecate jobs before
removing them from zuul config. A follow-up change will *delete*
the definition of deprecated jobs from zuul config,

Story: https://tree.taiga.io/project/tripleo-ci-board/issue/372

Change-Id: I23df3518820d39f32d1daded33776d757c144217
changes/37/619337/10
Rafael Folco 7 months ago
parent
commit
2af5efcbf7

+ 2
- 0
playbooks/deprecated/README.rst View File

@@ -0,0 +1,2 @@
1
+This playbook prints a deprecation warning message to inform
2
+that the job is no longer supported and should not be in use.

+ 14
- 0
playbooks/deprecated/pre.yaml View File

@@ -0,0 +1,14 @@
1
+- name: Deprecation warning
2
+  hosts: all
3
+  gather_facts: no
4
+  tasks:
5
+    - name: Warn that the job is deprecated
6
+      debug:
7
+        msg: |
8
+          --------------------------------------------------------
9
+          D E P R E C A T E D   J O B   W A R N I N G
10
+          --------------------------------------------------------
11
+          This job is deprecated and is no longer supported.
12
+          Please DO NOT use this job in your Zuul config.
13
+
14
+          Refer to #tripleo irc channel on Freenode for more info.

+ 92
- 0
zuul.d/deprecated-jobs.yaml View File

@@ -0,0 +1,92 @@
1
+---
2
+# zuul.d/deprecated-jobs.yaml
3
+# Zuul layout for TripleO deprecated jobs.
4
+# It contains all the deprecated jobs that should be removed from Zuul.
5
+
6
+- job:
7
+    name: tripleo-ci-deprecated
8
+    description: |
9
+      Deprecated TripleO Job
10
+      Job no longer supported that should be removed from Zuul config.
11
+    parent: tripleo-ci-base-multinode
12
+    pre-run: playbooks/deprecated/pre.yaml
13
+
14
+#TODO(rfolco): non-containeirized (nc) scenarios are no longer supported.
15
+# These (nc) scenario jobs ran until ocata release and should be removed
16
+# or replaced by containerized scenario jobs *-container.
17
+- job:
18
+    name: tripleo-ci-centos-7-scenario001-multinode-oooq
19
+    parent: tripleo-ci-deprecated
20
+    branches: none/deprecated
21
+    vars:
22
+      nodes: 1ctlr
23
+      featureset: '005'
24
+
25
+- job:
26
+    name: tripleo-ci-centos-7-scenario002-multinode-oooq
27
+    parent: tripleo-ci-deprecated
28
+    branches: none/deprecated
29
+    vars:
30
+      nodes: 1ctlr
31
+      featureset: '006'
32
+
33
+- job:
34
+    name: tripleo-ci-centos-7-scenario003-multinode-oooq
35
+    parent: tripleo-ci-deprecated
36
+    branches: none/deprecated
37
+    vars:
38
+      nodes: 1ctlr
39
+      featureset: '007'
40
+
41
+- job:
42
+    name: tripleo-ci-centos-7-scenario004-multinode-oooq
43
+    parent: tripleo-ci-deprecated
44
+    branches: none/deprecated
45
+    vars:
46
+      nodes: 1ctlr
47
+      featureset: '008'
48
+
49
+- job:
50
+    name: tripleo-ci-centos-7-scenario007-multinode-oooq
51
+    parent: tripleo-ci-deprecated
52
+    branches: none/deprecated
53
+    vars:
54
+      nodes: 1ctlr
55
+      featureset: '028'
56
+
57
+- job:
58
+    name: tripleo-ci-centos-7-scenario008-multinode-oooq
59
+    parent: tripleo-ci-deprecated
60
+    voting: false
61
+    branches: none/deprecated
62
+    vars:
63
+      nodes: 1ctlr
64
+      featureset: '031'
65
+
66
+- job:
67
+    name: tripleo-ci-centos-7-nonha-multinode-oooq
68
+    parent: tripleo-ci-deprecated
69
+    branches: none/deprecated
70
+    vars:
71
+      nodes: 1ctlr
72
+      featureset: '004'
73
+
74
+#TODO(rfolco): scen00{6,9} are containeirized, remove this when
75
+# all projects using them rename to the *-container (dup) jobs
76
+- job:
77
+    name: tripleo-ci-centos-7-scenario006-multinode-oooq
78
+    parent: tripleo-ci-deprecated
79
+    voting: false
80
+    branches: ^(?!stable/(newton|ocata)).*$
81
+    vars:
82
+      nodes: 1ctlr
83
+      featureset: '026'
84
+
85
+- job:
86
+    name: tripleo-ci-centos-7-scenario009-multinode-oooq
87
+    parent: tripleo-ci-deprecated
88
+    voting: false
89
+    branches: ^(?!stable/(newton|ocata)).*$
90
+    vars:
91
+      nodes: 1ctlr
92
+      featureset: '033'

+ 3
- 21
zuul.d/layout.yaml View File

@@ -31,27 +31,6 @@
31 31
         - tripleo-buildimage-overcloud-hardened-full-centos-7:
32 32
             files:
33 33
               - ^playbooks/tripleo-buildimage/.*$
34
-        - tripleo-ci-centos-7-scenario001-multinode-oooq:
35
-            files:
36
-              - ^playbooks/tripleo-ci/.*$
37
-        - tripleo-ci-centos-7-scenario002-multinode-oooq:
38
-            files:
39
-              - ^playbooks/tripleo-ci/.*$
40
-        - tripleo-ci-centos-7-scenario002-multinode-oooq:
41
-            files:
42
-              - ^playbooks/tripleo-ci/.*$
43
-        - tripleo-ci-centos-7-scenario003-multinode-oooq:
44
-            files:
45
-              - ^playbooks/tripleo-ci/.*$
46
-        - tripleo-ci-centos-7-scenario004-multinode-oooq:
47
-            files:
48
-              - ^playbooks/tripleo-ci/.*$
49
-        - tripleo-ci-centos-7-scenario007-multinode-oooq:
50
-            files:
51
-              - ^playbooks/tripleo-ci/.*$
52
-        - tripleo-ci-centos-7-scenario009-multinode-oooq:
53
-            files:
54
-              - ^playbooks/tripleo-ci/.*$
55 34
         - tripleo-ci-centos-7-scenario001-multinode-oooq-container:
56 35
             files:
57 36
               - ^playbooks/tripleo-ci/.*$
@@ -70,6 +49,9 @@
70 49
         - tripleo-ci-centos-7-scenario008-multinode-oooq-container:
71 50
             files:
72 51
               - ^playbooks/tripleo-ci/.*$
52
+        - tripleo-ci-centos-7-scenario009-multinode-oooq-container:
53
+            files:
54
+              - ^playbooks/tripleo-ci/.*$
73 55
     gate:
74 56
       queue: tripleo
75 57
       jobs:

+ 15
- 84
zuul.d/multinode-jobs.yaml View File

@@ -7,11 +7,11 @@
7 7
     name: tripleo-multinode-baremetal-minimal
8 8
     check:
9 9
       jobs:
10
-        - tripleo-ci-centos-7-nonha-multinode-oooq
10
+        - noop
11 11
     gate:
12 12
       queue: tripleo
13 13
       jobs:
14
-        - tripleo-ci-centos-7-nonha-multinode-oooq
14
+        - noop
15 15
 
16 16
 - project-template:
17 17
     name: tripleo-multinode-container-minimal
@@ -24,7 +24,6 @@
24 24
         - tripleo-ci-centos-7-standalone
25 25
         - tripleo-ci-fedora-28-standalone
26 26
         - tripleo-ci-centos-7-standalone-upgrade
27
-
28 27
     gate:
29 28
       queue: tripleo
30 29
       jobs:
@@ -32,6 +31,16 @@
32 31
         - tripleo-ci-centos-7-standalone
33 32
         - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates
34 33
 
34
+- project-template:
35
+    name: tripleo-multinode-baremetal-full
36
+    check:
37
+      jobs:
38
+        - noop
39
+    gate:
40
+      queue: tripleo
41
+      jobs:
42
+        - noop
43
+
35 44
 - project-template:
36 45
     name: tripleo-multinode-container-full
37 46
     check:
@@ -57,31 +66,11 @@
57 66
         - tripleo-ci-centos-7-standalone
58 67
         - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates
59 68
 
60
-- project-template:
61
-    name: tripleo-multinode-baremetal-full
62
-    check:
63
-      jobs:
64
-        - tripleo-ci-centos-7-nonha-multinode-oooq
65
-        - tripleo-ci-centos-7-scenario001-multinode-oooq
66
-        - tripleo-ci-centos-7-scenario002-multinode-oooq
67
-        - tripleo-ci-centos-7-scenario003-multinode-oooq
68
-        - tripleo-ci-centos-7-scenario004-multinode-oooq
69
-        - tripleo-ci-centos-7-scenario007-multinode-oooq
70
-        - tripleo-ci-centos-7-scenario009-multinode-oooq
71
-    gate:
72
-      queue: tripleo
73
-      jobs:
74
-        - tripleo-ci-centos-7-nonha-multinode-oooq
75
-        - tripleo-ci-centos-7-scenario001-multinode-oooq
76
-        - tripleo-ci-centos-7-scenario002-multinode-oooq
77
-        - tripleo-ci-centos-7-scenario003-multinode-oooq
78
-        - tripleo-ci-centos-7-scenario004-multinode-oooq
79
-
80 69
 - project-template:
81 70
     name: tripleo-multinode-experimental
82 71
     experimental:
83 72
       jobs:
84
-        - tripleo-ci-centos-7-scenario006-multinode-oooq
73
+        - tripleo-ci-centos-7-scenario006-multinode-oooq-container
85 74
         - tripleo-ci-centos-7-scenario010-multinode-oooq-container
86 75
         - tripleo-ci-centos-7-scenario011-multinode-oooq-container
87 76
 
@@ -150,23 +139,6 @@
150 139
       playbooks:
151 140
         - multinode.yml
152 141
 
153
-
154
-- job:
155
-    name: tripleo-ci-centos-7-nonha-multinode-oooq
156
-    parent: tripleo-ci-base-multinode
157
-    branches: ^stable/(newton|ocata).*$
158
-    vars:
159
-      nodes: 1ctlr
160
-      featureset: '004'
161
-
162
-- job:
163
-    name: tripleo-ci-centos-7-scenario001-multinode-oooq
164
-    parent: tripleo-ci-base-multinode
165
-    branches: ^stable/(newton|ocata).*$
166
-    vars:
167
-      nodes: 1ctlr
168
-      featureset: '005'
169
-
170 142
 - job:
171 143
     name: tripleo-ci-centos-7-scenario001-multinode-oooq-container
172 144
     parent: tripleo-ci-base-multinode
@@ -176,14 +148,6 @@
176 148
       nodes: 1ctlr
177 149
       featureset: '016'
178 150
 
179
-- job:
180
-    name: tripleo-ci-centos-7-scenario002-multinode-oooq
181
-    parent: tripleo-ci-base-multinode
182
-    branches: ^stable/(newton|ocata).*$
183
-    vars:
184
-      nodes: 1ctlr
185
-      featureset: '006'
186
-
187 151
 - job:
188 152
     name: tripleo-ci-centos-7-scenario002-multinode-oooq-container
189 153
     parent: tripleo-ci-base-multinode
@@ -201,14 +165,6 @@
201 165
       nodes: 1ctlr
202 166
       featureset: '055'
203 167
 
204
-- job:
205
-    name: tripleo-ci-centos-7-scenario003-multinode-oooq
206
-    parent: tripleo-ci-base-multinode
207
-    branches: ^stable/ocata.*$
208
-    vars:
209
-      nodes: 1ctlr
210
-      featureset: '007'
211
-
212 168
 - job:
213 169
     name: tripleo-ci-centos-7-scenario003-multinode-oooq-container
214 170
     parent: tripleo-ci-base-multinode
@@ -218,14 +174,6 @@
218 174
       nodes: 1ctlr
219 175
       featureset: '018'
220 176
 
221
-- job:
222
-    name: tripleo-ci-centos-7-scenario004-multinode-oooq
223
-    parent: tripleo-ci-base-multinode
224
-    branches: ^stable/ocata.*$
225
-    vars:
226
-      nodes: 1ctlr
227
-      featureset: '008'
228
-
229 177
 - job:
230 178
     name: tripleo-ci-centos-7-scenario004-multinode-oooq-container
231 179
     parent: tripleo-ci-base-multinode
@@ -236,7 +184,7 @@
236 184
       featureset: '019'
237 185
 
238 186
 - job:
239
-    name: tripleo-ci-centos-7-scenario006-multinode-oooq
187
+    name: tripleo-ci-centos-7-scenario006-multinode-oooq-container
240 188
     parent: tripleo-ci-base-multinode
241 189
     voting: false
242 190
     branches: ^(?!stable/(newton|ocata)).*$
@@ -244,14 +192,6 @@
244 192
       nodes: 1ctlr
245 193
       featureset: '026'
246 194
 
247
-- job:
248
-    name: tripleo-ci-centos-7-scenario007-multinode-oooq
249
-    parent: tripleo-ci-base-multinode
250
-    branches: ^stable/pike.*$
251
-    vars:
252
-      nodes: 1ctlr
253
-      featureset: '028'
254
-
255 195
 - job:
256 196
     name: tripleo-ci-centos-7-scenario007-multinode-oooq-container
257 197
     parent: tripleo-ci-base-multinode
@@ -271,16 +211,7 @@
271 211
       featureset: '031'
272 212
 
273 213
 - job:
274
-    name: tripleo-ci-centos-7-scenario008-multinode-oooq
275
-    parent: tripleo-ci-base-multinode
276
-    voting: false
277
-    branches: ^(?!stable/(newton|ocata|pike|queens)).*$
278
-    vars:
279
-      nodes: 1ctlr
280
-      featureset: '031'
281
-
282
-- job:
283
-    name: tripleo-ci-centos-7-scenario009-multinode-oooq
214
+    name: tripleo-ci-centos-7-scenario009-multinode-oooq-container
284 215
     parent: tripleo-ci-base-multinode
285 216
     voting: false
286 217
     branches: ^(?!stable/(newton|ocata)).*$

Loading…
Cancel
Save