summaryrefslogtreecommitdiffstats
path: root/job-cfg/g-i-installation.yaml
blob: 7d7ab07fde8d6fb99c3b2e1f8899052f7188f04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
- defaults:
    name: g-i-installation
    description: '{my_description}{do_not_edit}'
    # disabled: true
    logrotate:
      daysToKeep: 90
      numToKeep: 20
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    triggers:
      - timed: '{my_time}'
    builders:
      - shell: '/srv/jenkins/bin/g-i-installation.sh {my_disksize} {my_inst_url}'
    publishers:
      - trigger:
          project: '{my_trigger}'
      - logparser:
          parse-rules: '/srv/jenkins/logparse/debian.rules'
          unstable-on-warning: 'true'
          fail-on-error: 'true'
      - email-ext:
          recipients: '{my_recipients}'
          first-failure: true
          fixed: true
          subject: '$BUILD_STATUS: $JOB_NAME/$BUILD_NUMBER'
          attach-build-log: false
          body: 'See $BUILD_URL and $BUILD_URL/console and $BUILD_URL/artifact/results/ if there are any.'
      - archive:
          artifacts: 'results/*.*, results/log/*, results/log/installer/*'
          latest-only: false
      - image-gallery:
          - title: '{my_title}'
            includes: 'results/*.png'
            image-width: 300
    wrappers:
      - live-screenshot
      - timeout:
          timeout: 480
    properties:
      - sidebar: &sb01
          url: https://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar: &sb10
          url: https://jenkins.debian.net/view/g-i-installation/
          text: All g-i-installation jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar: &sb99
          url: http://www.profitbricks.co.uk
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
      - priority-sorter:
          priority: '140'
      - throttle:
          max-total: 3
          max-per-node: 3
          enabled: true
          option: category
          categories:
            - g-i-installation
- defaults:
    name: g-i-installation-maintenance
    description: 'Cleanup and monitor so that there is a predictable environment.{do_not_edit}'
    logrotate:
      daysToKeep: 90
      numToKeep: 20
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    triggers:
      - timed: '0 6 * * *'
    builders:
      - shell: '/srv/jenkins/bin/maintenance.sh {name}'
    publishers:
      - logparser:
          parse-rules: '/srv/jenkins/logparse/debian.rules'
          unstable-on-warning: 'true'
          fail-on-error: 'true'
      - email:
          recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
    properties:
      - sidebar: *sb01
      - sidebar: *sb10
      - sidebar: *sb99
      - priority-sorter:
          priority: '175'

- job-template:
    defaults: g-i-installation-maintenance
    name: '{name}_maintenance'

- job-template:
    defaults: g-i-installation
    name: '{name}_debian_{my_ver}_{my_desktop}'

- job-template:
    defaults: g-i-installation
    name: '{name}_{my_dist}_{my_ver}_{my_profile}'

- job-template:
    defaults: g-i-installation
    name: '{name}_{my_dist}_{my_ver}_{my_profile}_{my_desktop}'

- job-template:
    defaults: g-i-installation
    name: '{name}_debian_sid_daily_rescue_{my_langname}'

- job-template:
    defaults: g-i-installation
    name: '{name}_debian_{my_ver}_presentation'

- job-template:
    defaults: g-i-installation
    name: '{name}_debian_{my_ver}_{my_profile}_{my_theme}'

- job-group:
    name: '{name}_{my_dist}_group'
    my_disksize: 25
    jobs:
      - '{name}_{my_dist}_{my_ver}_{my_profile}':
          my_title: '{my_distname} ({my_ver}) {my_profile}'
          my_description: 'Do a fully automated installation of a {my_distname} {my_ver} {my_profile} profile - via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/{my_dist}_{my_ver}_{my_profile}_preseed.cfg">this preseed.cfg</a>) using the netinst CD image.'
          my_trigger: ''
          my_recipients: 'jenkins+debian-edu debian-edu-commits@lists.alioth.debian.org'

- job-group:
    name: '{name}_{my_dist}_desktop_group'
    my_disksize: 25
    jobs:
      - '{name}_{my_dist}_{my_ver}_{my_profile}_{my_desktop}':
          my_title: '{my_distname} ({my_ver}) {my_profile} ({my_desktop})'
          my_description: 'Do a fully automated installation of a {my_distname} {my_ver} {my_profile} profile - via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/{my_dist}_{my_ver}_{my_profile}_preseed.cfg">this preseed.cfg</a>) using the netinst CD image.'
          my_trigger: ''
          my_recipients: 'jenkins+debian-edu debian-edu-commits@lists.alioth.debian.org'

- job-group:
    name: '{name}_{my_dist}_{my_ver}_group'
    my_time: ''
    my_desktop: ''
    my_trigger: ''
    my_trigdesc: ''
    my_title_extra: ''
    jobs:
      - '{name}_{my_dist}_{my_ver}_{my_profile}':
         my_title: '{my_distname} ({my_ver}) {my_profile}{my_title_extra}'
         my_description: 'Do a fully automated installation of a {my_distname} {my_verdesc} {my_profile} profile - via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/{my_dist}_{my_ver}_{my_profile}_preseed.cfg">this preseed.cfg</a>) using the {my_ver} image.{my_trigdesc}'

- job-group:
    name: '{name}_debian_{my_ver}_desktops_group'
    my_optdesc: ''
    my_trigger: ''
    my_time: ''
    my_trigdesc: ''
    my_optdesc2: ''
    my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
    jobs:
      - '{name}_debian_{my_ver}_{my_desktop}':
          my_title: 'Debian ({my_verdesc}) {my_desktop} desktop install{my_optdesc}'
          my_description: 'Do a fully automated installation of Debian {my_desktop} desktop{my_optdesc}{my_optdesc2} - via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/debian_{my_ver}_{my_desktop}_preseed.cfg">this preseed.cfg</a>){my_instdesc}.{my_trigdesc}'
          my_disksize: 10


- job-group:
    name: '{name}_debian_sid_daily_rescue_translations_group'
    my_langname: ''
    my_time: ''
    my_trigger: ''
    my_langname:
      - spanish:    { my_locale: es es_ES, my_time: '23 7 18 * *' }
      - japanese:   { my_locale: ja ja_JA, my_time: '42 7 18 * *' }
      - chinese:    { my_locale: zh zh_CN, my_time: '23 8 18 * *' }
      - korean:     { my_locale: ko ko_KR, my_time: '42 8 18 * *' }
      - russian:    { my_locale: ru ru_RU, my_time: '42 9 18 * *' }
      - greek:      { my_locale: el el_GR, my_time: '42 9 18 * *' }
      - vietnamese: { my_locale: vi vi_VI, my_time: '42 9 18 * *' }
      - hebrew:     { my_locale: he he_IL, my_time: '23 10 18 * *' }
      - hindi:      { my_locale: hi hi_IN, my_time: '23 10 18 * *' }
      - tamil:      { my_locale: ta ta_IN, my_time: '42 10 18 * *' }
      - tibetan:    { my_locale: bo bo_IN, my_time: '23 11 18 * *' }
      - gujarati:   { my_locale: gu gu_IN, my_time: '42 11 18 * *' }
      - kannada:    { my_locale: kn kn_IN, my_time: '23 12 18 * *' }
      - malayalam:  { my_locale: ml ml_IN, my_time: '42 12 18 * *' }
      - marathi:    { my_locale: mr mr_IN, my_time: '23 13 18 * *' }
      - punjabi:    { my_locale: pa pa_IN, my_time: '42 13 18 * *' }
      - telugu:     { my_locale: te te_IN, my_time: '23 14 18 * *' }
      - arabic:     { my_locale: ar ar_EG, my_time: '42 14 18 * *' }
    jobs:
      - '{name}_debian_sid_daily_rescue_{my_langname}':
          my_title: 'Debian (sid daily build CD) rescue mode in {my_langname}'
          my_disksize: 1
          my_inst_url: 'http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso {my_locale}'
          my_description: 'Just go into rescue mode, via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/debian_sid_daily_rescue_preseed.cfg">this preseed.cfg</a>) using netboot gtk.'
          my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'

- project:
    name: g-i-installation
    do_not_edit: '<br><br>Job  configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/g-i-installation.yaml">g-i-installation.yaml</a>.'
    jobs:
      - '{name}_maintenance'
      - '{name}_debian_{my_ver}_desktops_group':
          my_ver: jessie
          my_verdesc: jessie
          my_inst_url: 'http://d-i.debian.org/daily-images/amd64/daily/netboot/gtk/debian-installer/amd64/'
          my_instdesc: ' using netboot gtk'
          my_desktop:
            - kde:
                my_time: '42 15 */2 * *'
            - xfce:
                my_time: '42 16 */2 * *'
            - lxde:
                my_time: '42 19 */2 * *'
            - gnome:
                my_time: '42 19 */2 * *'
                my_trigger: 'g-i-installation_debian_{my_ver}_gnome_brltty, g-i-installation_debian_{my_ver}_gnome_speakup'
            - gnome_brltty:
                my_optdesc: ' with braille display support'
                my_time: ''
                my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org debian-accessibility@lists.debian.org'
            - gnome_speakup:
                my_optdesc: ' with Speakup support'
                my_time: ''
                my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org debian-accessibility@lists.debian.org'
      - '{name}_{my_dist}_group':
          my_dist:
            - debian-edu:
                my_distname: 'Debian Edu'
          my_ver: stretch-daily-netinst
          my_verdesc: Stretch
          my_inst_url: 'http://ftp.skolelinux.org/cd-stretch-amd64-i386-netinst/debian-edu-amd64-i386-NETINST-1.iso'
          my_profile:
            - minimal:      { my_time: '23 20 * * 3,6' }
            - standalone:   { my_time: '42 20 * * 3,6' }
            - workstation:  { my_time: '42 22 * * 3' }
            - combi-server: { my_time: '42 0 * * 3', my_disksize: 70 }
            - main-server:  { my_time: '42 2 * * 3,6', my_disksize: 30 }
      - '{name}_{my_dist}_desktop_group':
          my_dist:
            - debian-edu:
                my_distname: 'Debian Edu'
          my_ver: stretch-daily-netinst
          my_verdesc: Stretch
          my_inst_url: 'http://ftp.skolelinux.org/cd-stretch-amd64-i386-netinst/debian-edu-amd64-i386-NETINST-1.iso'
          my_profile: standalone
          my_desktop:
            - gnome:    { my_time: '42 18 * * 3,6' }
            - lxde:     { my_time: '42 22 * * 3,6' }
            - xfce:     { my_time: '42 2 * * 3,6' }

      - '{name}_debian_{my_ver}_desktops_group':
          my_ver: sid_daily
          my_inst_url: 'http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso'
          my_verdesc: 'sid daily build CD'
          my_instdesc: ' using netboot gtk'
          my_desktop:
            - gnome:
                my_time: '42 8 * * *'
                my_trigger: 'g-i-installation_debian_sid_gnome_brltty, g-i-installation_debian_sid_gnome_speakup'
            - gnome_brltty:
                my_optdesc: ' with braille display support'
                my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org debian-accessibility@lists.debian.org'
            - gnome_speakup:
                my_optdesc: ' with Speakup support'
                my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org debian-accessibility@lists.debian.org'
            - xfce:
                my_time: '42 8 * * *'
            - lxde:
                my_time: '42 10 * * *'

      - '{name}_debian_{my_ver}_desktops_group':
          my_desktop: kfreebsd_xfce
          my_instdesc: ' using PXE netboot gtk'
          my_ver:
            - jessie:
                my_verdesc: jessie
                my_inst_url: 'http://deb.debian.org/debian/dists/jessie-kfreebsd-proposed-updates/main/installer-kfreebsd-amd64/current/images/netboot-10/gtk/netboot.tar.gz'
                my_time: '42 16 3,18 * *'
            - sid_daily:
                my_verdesc: 'sid daily build CD'
                my_inst_url: 'http://d-i.debian.org/daily-images/kfreebsd-amd64/daily/netboot-10/gtk/netboot.tar.gz'
                my_time: '42 8 */7 * *'

      - '{name}_debian_{my_ver}_desktops_group':
          my_desktop:
            - hurd_lxde:
                # putting these at the outer level doesn't work for some reason, so put them in here
                my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org debian-hurd@lists.debian.org'
                my_instdesc: ''
          my_ver:
            - jessie:
                my_inst_url: 'http://ftp.debian-ports.org/debian-cd/hurd-i386/debian-hurd-2015/debian-hurd-2015-i386-NETINST-1.iso'
                my_trigdesc: '<br />This job is only triggered manually.'
                my_verdesc: jessie
                my_time: '42 16 31 12 4'
                my_optdesc2: ' on <a href="https://lists.debian.org/debian-devel-announce/2015/04/msg00012.html">Debian GNU/hurd 2015 Jessie release</a>'
            - sid_daily:
                my_inst_url: 'http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/daily/debian-sid-hurd-i386-NETINST-1.iso'
                my_time: '42 10 */2 * *'
                my_verdesc: 'sid daily build CD'

      - '{name}_debian_sid_daily_rescue_translations_group'

      - '{name}_{my_dist}_{my_ver}_group':
          my_dist:
            - debian-edu:
                my_distname: 'Debian Edu'
                my_recipients: 'jenkins+debian-edu debian-edu-commits@lists.alioth.debian.org'
          my_ver:
            - jessie-daily-usb:
                my_verdesc: Jessie
                my_inst_url: http://ftp.skolelinux.org/cd-jessie-usbstick/debian-edu-amd64-i386-BD-1.iso
            - jessie-daily-netinst:
                my_verdesc: Jessie
                my_inst_url: http://ftp.skolelinux.org/cd-jessie-amd64-i386-netinst/debian-edu-amd64-i386-NETINST-1.iso
            - jessie-final-usb:
                my_verdesc: Jessie
                my_inst_url: http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8+edu1/debian-edu-8+edu1-USB.iso
            - jessie-final-netinst:
                my_verdesc: Jessie
                my_inst_url: http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8+edu1/debian-edu-8+edu1-CD.iso
          my_profile:
            - standalone:       { my_time: '42 1 18 * *', my_disksize: 25,
                                  my_title_extra: ' (Default)' }
            - standalone_mate:  { my_time: '23 2 18 * *', my_disksize: 25 }
            - main-server:      { my_time: '23 3 18 * *',   my_disksize: 40 }
            - workstation:  { my_time: '42 22 18 * *', my_disksize: 25 }
            - combi-server: { my_time: '42 0 18 * *',   my_disksize: 60 }

      - '{name}_debian_{my_ver}_presentation':
          my_ver:
            - wheezy:
                my_verdesc: 'wheezy netboot'
                my_inst_url: 'http://deb.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/debian-installer/amd64/'
                my_time: '44 15 23 * *'
            - jessie:
                my_verdesc: 'jessie netboot'
                my_inst_url: 'http://d-i.debian.org/daily-images/amd64/daily/netboot/debian-installer/amd64/'
                my_time: '43 15 23 * *'
            - sid_daily:
                my_verdesc: 'sid daily build CD'
                my_inst_url: 'http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso'
                my_time: '42 15 23 * *'
          my_title: 'Debian-Installer ({my_verdesc}) used for presentations'
          my_disksize: 1
          my_description: 'Use d-i for presentations via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/debian_{my_ver}_presentation_preseed.cfg">this preseed.cfg</a>).'
          my_trigger: ''
          my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'

      - '{name}_debian_{my_ver}_{my_profile}_{my_theme}':
          my_ver: sid_daily
          my_profile: rescue
          my_theme:
            - 'default_theme':
                my_theme_desc: ''
                my_time: '42 6 * * *'
            - 'dark_theme':
                my_theme_desc: ', using theme=dark'
                my_time: '42 6 * * 7'
          my_title: 'Debian (sid daily build CD) rescue mode{my_theme_desc}'
          my_disksize: 1
          my_inst_url: 'http://cdimage.debian.org/cdimage/daily-builds/sid_d-i/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso'
          my_description: 'Just go into rescue mode{my_theme_desc}, via d-i preseeding (with <a href="https://jenkins.debian.net/d-i-preseed-cfgs/debian_sid_daily_rescue{my_theme}_preseed.cfg">this preseed.cfg</a>) using netboot gtk.'
          my_trigger: ''
          my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'