Remove unused mininet image
[releng/builder.git] / jjb / releng-jobs.yaml
1 ---
2 - project:
3     name: builder-jobs
4     jobs:
5       - '{project-name}-ci-jobs'
6       - builder-check-poms
7       - gerrit-tox-verify
8       # OpenStack Related
9       - 'builder-verify-image-protection'
10       - 'builder-cleanup-old-images'
11       - 'builder-delete-orphaned-nodes'
12       - 'builder-delete-stale-nodes'
13       - 'builder-delete-stale-stacks'
14       # Automation for docs and jobs
15       - 'builder-update-image-list'
16
17     # The following values are only specified here
18     # so that code blocks look similar to other projects.
19     project: 'releng/builder'
20     project-name: builder
21     stream: master
22     branch: master
23     build-node: centos7-builder-2c-8g
24     archive-artifacts: '**/*.log'
25     build-timeout: 30
26
27 - project:
28     name: packer-jobs
29     # packer jobs templates are defined in global-jjb
30     jobs:
31       - '{project-name}-packer-jobs'
32     project: 'releng/builder'
33     project-name: builder
34     branch: master
35     archive-artifacts: '**/*.log'
36     build-node: centos7-builder-2c-8g
37
38     platforms:
39       - centos
40       - ubuntu-14.04
41       - ubuntu-16.04
42
43     templates:
44       - devstack
45       - devstack-pre-pip-newton:
46           build-timeout: 75
47       - devstack-pre-pip-ocata:
48           build-timeout: 60
49       - devstack-pre-pip-pike:
50           build-timeout: 75
51       - gbp
52       - mininet-ovs-2.5:
53           build-timeout: 60
54       - mininet-ovs-2.6:
55           build-timeout: 75
56
57     exclude:
58       - platforms: centos
59         templates: gbp
60       - platforms: centos
61         templates: mininet-ovs-2.5
62       - platforms: centos
63         templates: mininet-ovs-2.6
64       - platforms: ubuntu-14.04
65         templates: devstack-pre-pip-newton
66       - platforms: ubuntu-14.04
67         templates: devstack-pre-pip-ocata
68       - platforms: ubuntu-14.04
69         templates: devstack-pre-pip-pike
70       - platforms: ubuntu-14.04
71         templates: devstack
72       - platforms: ubuntu-14.04
73         templates: mininet-ovs-2.5
74       - platforms: ubuntu-14.04
75         templates: mininet-ovs-2.6
76       - platforms: ubuntu-16.04
77         templates: devstack-pre-pip-newton
78       - platforms: ubuntu-16.04
79         templates: devstack-pre-pip-ocata
80       - platforms: ubuntu-16.04
81         templates: devstack-pre-pip-pike
82       - platforms: ubuntu-16.04
83         templates: devstack
84       - platforms: ubuntu-16.04
85         templates: baseline
86       - platforms: centos
87         templates: baseline
88
89 - job-template:
90     name: builder-check-poms
91     node: centos7-builder-2c-8g
92
93     project-type: freestyle
94
95     properties:
96       - opendaylight-infra-properties:
97           build-days-to-keep: 14
98
99     parameters:
100       - opendaylight-infra-parameters:
101           os-cloud: '{os-cloud}'
102           project: '{project}'
103           branch: '{branch}'
104           refspec: 'refs/heads/{branch}'
105           artifacts: '{archive-artifacts}'
106
107     wrappers:
108       - opendaylight-infra-wrappers:
109           build-timeout: '{build-timeout}'
110
111     triggers:
112       - timed: 'H H * * 1'
113
114     builders:
115       - shell: !include-raw-escape: check-poms.sh
116
117     publishers:
118       - email-notification:
119           email-recipients: '{email-recipients}'
120           email-prefix: '[releng]'
121       - lf-infra-publish
122
123
124 - job-template:
125     name: 'builder-verify-image-protection'
126     project-type: freestyle
127     node: centos7-builder-2c-8g
128
129     properties:
130       - opendaylight-infra-properties:
131           build-days-to-keep: 7
132
133     parameters:
134       - opendaylight-infra-parameters:
135           os-cloud: '{os-cloud}'
136           project: '{project}'
137           branch: '{branch}'
138           refspec: 'refs/heads/{branch}'
139           artifacts: '{archive-artifacts}'
140
141     scm:
142       - git-scm:
143           branch: '{branch}'
144
145     wrappers:
146       - opendaylight-infra-wrappers:
147           build-timeout: '{build-timeout}'
148       # Listed after to override openstack-infra-wrappers clouds.yaml definition
149       - config-file-provider:
150           files:
151             - file-id: clouds-yaml
152               target: '$HOME/.config/openstack/clouds.yaml'
153
154     triggers:
155       - timed: '@daily'
156
157     builders:
158       - shell: !include-raw-escape:
159           - opendaylight-infra-check-image-protection.sh
160
161     publishers:
162       - email-notification:
163           email-recipients: '{email-recipients}'
164           email-prefix: '[releng]'
165       - lf-infra-publish
166
167
168 - job-template:
169     name: 'builder-cleanup-old-images'
170     project-type: freestyle
171     node: centos7-builder-2c-8g
172
173     properties:
174       - opendaylight-infra-properties:
175           build-days-to-keep: 7
176
177     parameters:
178       - opendaylight-infra-parameters:
179           os-cloud: '{os-cloud}'
180           project: '{project}'
181           branch: '{branch}'
182           refspec: 'refs/heads/{branch}'
183           artifacts: '{archive-artifacts}'
184
185     scm:
186       - git-scm:
187           branch: '{branch}'
188
189     wrappers:
190       - opendaylight-infra-wrappers:
191           build-timeout: '{build-timeout}'
192       # Listed after to override openstack-infra-wrappers clouds.yaml definition
193       - config-file-provider:
194           files:
195             - file-id: clouds-yaml
196               target: '$HOME/.config/openstack/clouds.yaml'
197
198     triggers:
199       # Cleanup images on a weekly schedule
200       - timed: '@weekly'
201
202     builders:
203       - shell: !include-raw-escape:
204           - global-jjb/shell/lftools-install.sh
205           - opendaylight-infra-cleanup-old-images.sh
206
207     publishers:
208       - email-notification:
209           email-recipients: '{email-recipients}'
210           email-prefix: '[releng]'
211       - lf-infra-publish
212
213
214 - job-template:
215     name: builder-delete-orphaned-nodes
216     project-type: freestyle
217     node: centos7-builder-2c-8g
218
219     properties:
220       - opendaylight-infra-properties:
221           build-days-to-keep: 7
222
223     parameters:
224       - opendaylight-infra-parameters:
225           os-cloud: '{os-cloud}'
226           project: '{project}'
227           branch: '{branch}'
228           refspec: 'refs/heads/{branch}'
229           artifacts: '{archive-artifacts}'
230       - string:
231           name: JENKINS_URLS
232           default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
233           description: 'Space separated list of Jenkins URLs to check for active builds'
234
235     wrappers:
236       - opendaylight-infra-wrappers:
237           build-timeout: '{build-timeout}'
238
239     triggers:
240       # Attempt to clear up servers every 30 mins in case we have orphaned servers
241       - timed: '0,30 * * * *'
242
243     builders:
244       - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
245
246     publishers:
247       - email-notification:
248           email-recipients: '{email-recipients}'
249           email-prefix: '[releng]'
250       - lf-infra-publish
251
252
253 - job-template:
254     name: 'builder-delete-stale-nodes'
255     project-type: freestyle
256     node: centos7-builder-2c-8g
257
258     properties:
259       - opendaylight-infra-properties:
260           build-days-to-keep: 7
261
262     parameters:
263       - opendaylight-infra-parameters:
264           os-cloud: '{os-cloud}'
265           project: '{project}'
266           branch: '{branch}'
267           refspec: 'refs/heads/{branch}'
268           artifacts: '{archive-artifacts}'
269
270     wrappers:
271       - opendaylight-infra-wrappers:
272           build-timeout: '{build-timeout}'
273
274     triggers:
275       # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
276       - timed: '0,30 * * * *'
277
278     builders:
279       - shell: !include-raw-escape:
280           - global-jjb/shell/lftools-install.sh
281           - opendaylight-infra-cleanup-stale-nodes.sh
282
283     publishers:
284       - email-notification:
285           email-recipients: '{email-recipients}'
286           email-prefix: '[releng]'
287       - lf-infra-publish
288
289
290 - job-template:
291     name: 'builder-delete-stale-stacks'
292     project-type: freestyle
293     node: centos7-builder-2c-8g
294
295     properties:
296       - opendaylight-infra-properties:
297           build-days-to-keep: 7
298
299     parameters:
300       - opendaylight-infra-parameters:
301           os-cloud: '{os-cloud}'
302           project: '{project}'
303           branch: '{branch}'
304           refspec: 'refs/heads/{branch}'
305           artifacts: '{archive-artifacts}'
306       - string:
307           name: JENKINS_URLS
308           default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
309           description: 'Space separated list of Jenkins URLs to check for active builds'
310
311     wrappers:
312       - opendaylight-infra-wrappers:
313           build-timeout: '{build-timeout}'
314
315     triggers:
316       # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
317       - timed: '0,30 * * * *'
318
319     builders:
320       - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
321
322     publishers:
323       - email-notification:
324           email-recipients: '{email-recipients}'
325           email-prefix: '[releng]'
326       - lf-infra-publish
327
328
329 - job-template:
330     name: 'builder-update-image-list'
331     project-type: freestyle
332     node: centos7-builder-2c-8g
333
334     properties:
335       - opendaylight-infra-properties:
336           build-days-to-keep: 7
337
338     parameters:
339       - opendaylight-infra-parameters:
340           os-cloud: vex
341           project: '{project}'
342           branch: '{branch}'
343           refspec: 'refs/heads/{branch}'
344           artifacts: '{archive-artifacts}'
345
346     scm:
347       - git-scm:
348           branch: '{branch}'
349
350     wrappers:
351       - opendaylight-infra-wrappers:
352           build-timeout: '{build-timeout}'
353       # Listed after to override openstack-infra-wrappers clouds.yaml definition
354       - config-file-provider:
355           files:
356             - file-id: clouds-yaml
357               target: '$HOME/.config/openstack/clouds.yaml'
358
359     triggers:
360       # Update image list every Monday to Friday at 11:00 UTC
361       - timed: '0 11 * * 1-5'
362
363     builders:
364       - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
365       - opendaylight-infra-push-gerrit-patch:
366           project: '{project}'
367           gerrit-topic: 'releng-update-cloud-image-list'
368           gerrit-commit-message: 'Update cloud image list docs'
369
370     publishers:
371       - email-notification:
372           email-recipients: '{email-recipients}'
373           email-prefix: '[releng]'
374       - lf-infra-publish