summaryrefslogtreecommitdiffstats
path: root/job-cfg/chroot-tests.yaml
blob: 42c5f645e9b0a4add2b2be2099ebd7d8f5152951 (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
- defaults:
    name: chroot-tests
    description: '{my_description}{do_not_edit}'
    logrotate:
      daysToKeep: 90
      numToKeep: 50
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    builders:
      - shell: '/srv/jenkins/bin/chroot_tester.sh {chroot_tester_params}'
    publishers:
      - logparser:
          rulespath: '/srv/jenkins/logparse/debian.rules'
          unstable_on_warning: 'false'
          fail_on_error: 'false'
      - email:
          recipients: jenkins+debian-qa holger@layer-acht.org
    properties:
      - sidebar:
          url: http://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar:
          url: http://jenkins.debian.net/view/chroot-tests/
          text: All chroot-test jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.com
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png

- defaults:
    name: chroot-tests+trigger
    description: '{my_description}{do_not_edit}'
    logrotate:
      daysToKeep: 90
      numToKeep: 50
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    builders:
      - shell: '/srv/jenkins/bin/chroot_tester.sh {chroot_tester_params}'
    publishers:
      - logparser:
          rulespath: '/srv/jenkins/logparse/debian.rules'
          unstable_on_warning: 'false'
          fail_on_error: 'false'
      - trigger:
          project: '{my_trigger}'
      - email:
          recipients: jenkins+debian-qa holger@layer-acht.org
    properties:
      - sidebar:
          url: http://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar:
          url: http://jenkins.debian.net/view/chroot-tests/
          text: All chroot-test jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.com
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png

- job-template:
    defaults: chroot-tests
    name: '{name}_housekeeping'
    description: '{my_description}{do_not_edit}'
    triggers:
      - timed: "0 5 * * *"
    builders:
      - shell: '/srv/jenkins/bin/housekeeping.sh'
    publishers:
      - logparser:
          rulespath: '/srv/jenkins/logparse/debian.rules'
          unstable_on_warning: 'true'
          fail_on_error: 'true'
      - trigger:
          project: '{my_trigger}'
          threshold: 'UNSTABLE'
      - email:
          recipients: jenkins+debian-qa holger@layer-acht.org

- job-template:
    defaults: chroot-tests
    name: '{name}_sid_install_gnome'

- job-template:
    defaults: chroot-tests
    name: '{name}_sid_install_kde'

- job-template:
    defaults: chroot-tests
    name: '{name}_sid_install_lxde'

- job-template:
    defaults: chroot-tests
    name: '{name}_sid_install_xfce'

- job-template:
    defaults: chroot-tests+trigger
    name: '{name}_sid_install_full_desktop'

- job-template:
    defaults: chroot-tests
    name: '{name}_sid_install_developer'

- job-template:
    defaults: chroot-tests+trigger
    name: '{name}_sid_bootstrap'

- job-template:
    defaults: chroot-tests
    name: '{name}_squeeze_install_gnome_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests
    name: '{name}_squeeze_install_kde_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests
    name: '{name}_squeeze_install_lxde_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests
    name: '{name}_squeeze_install_xfce_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests+trigger
    name: '{name}_squeeze_install_full_desktop_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests
    name: '{name}_squeeze_install_developer_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests+trigger
    name: '{name}_squeeze_bootstrap_upgrade_to_wheezy'

- job-template:
    defaults: chroot-tests
    name: '{name}_wheezy_install_gnome'

- job-template:
    defaults: chroot-tests
    name: '{name}_wheezy_install_kde'

- job-template:
    defaults: chroot-tests
    name: '{name}_wheezy_install_lxde'

- job-template:
    defaults: chroot-tests
    name: '{name}_wheezy_install_xfce'

- job-template:
    defaults: chroot-tests+trigger
    name: '{name}_wheezy_install_full_desktop'

- job-template:
    defaults: chroot-tests
    name: '{name}_wheezy_install_developer'

- job-template:
    defaults: chroot-tests+trigger
    name: '{name}_wheezy_bootstrap'

- project:
    name: chroot-test
    do_not_edit: '<br><br>Configured by <a href="http://jenkins.debian.net/userContent/about.html">jenkins-job-builder</a>, do not edit this job through the web UI.'
    jobs:

      - '{name}_sid_install_gnome':
         chroot_tester_params: 'sid gnome'
         my_description: 'Debootstrap sid, then install GNOME.'

      - '{name}_sid_install_kde':
         chroot_tester_params: 'sid kde'
         my_description: 'Debootstrap sid, then install KDE.'

      - '{name}_sid_install_lxde':
         chroot_tester_params: 'sid lxde'
         my_description: 'Debootstrap sid, then install LXDE.'

      - '{name}_sid_install_xfce':
         chroot_tester_params: 'sid xfce'
         my_description: 'Debootstrap sid, then install XFCE.'

      - '{name}_sid_install_full_desktop':
         chroot_tester_params: 'sid full_desktop'
         my_description: 'Debootstrap sid, then install four desktop environments and the most commonly used applications and packages.'
         my_trigger: 'chroot-test_sid_install_developer'

      - '{name}_sid_install_developer':
         chroot_tester_params: 'sid developer'
         my_description: 'Debootstrap sid, then install four desktop environments and the most commonly used applications and packages - and the build depends for all of these.'

      - '{name}_sid_bootstrap':
         chroot_tester_params: 'sid'
         my_description: 'Debootstrap sid.'
         my_trigger: 'chroot-test_sid_install_gnome, chroot-test_sid_install_kde, chroot-test_sid_install_lxde, chroot-test_sid_install_xfce, chroot-test_sid_install_full_desktop'

      - '{name}_squeeze_install_gnome_upgrade_to_wheezy':
         chroot_tester_params: 'squeeze gnome wheezy'
         my_description: 'Debootstrap squeeze, install GNOME then upgrade to wheezy.'

      - '{name}_squeeze_install_kde_upgrade_to_wheezy':
         chroot_tester_params: 'squeeze kde wheezy'
         my_description: 'Debootstrap squeeze, install KDE then upgrade to wheezy.'

      - '{name}_squeeze_install_lxde_upgrade_to_wheezy':
         chroot_tester_params: 'squeeze lxde wheezy'
         my_description: 'Debootstrap squeeze, install LXDE then upgrade to wheezy.'

      - '{name}_squeeze_install_xfce_upgrade_to_wheezy':
         chroot_tester_params: 'squeeze xfce wheezy'
         my_description: 'Debootstrap squeeze, install KFCE then upgrade to wheezy.'

      - '{name}_squeeze_install_full_desktop_upgrade_to_wheezy':
         chroot_tester_params: 'sid full_desktop wheezy'
         my_description: 'Debootstrap squeeze, then install four desktop environments and the most commonly used applications and packages, then upgrade to wheezy.'
         my_trigger: 'chroot-test_squeeze_install_developer_upgrade_to_wheezy'

      - '{name}_squeeze_install_developer_upgrade_to_wheezy':
         chroot_tester_params: 'sid developer wheezy'
         my_description: 'Debootstrap squeeze, then install four desktop environments and the most commonly used applications and packages - and the build depends for all of these, then upgrade to wheezy.'

      - '{name}_squeeze_bootstrap_upgrade_to_wheezy':
         chroot_tester_params: 'squeeze none wheezy'
         my_description: 'Debootstrap squeeze, then upgrade to wheezy.'
         my_trigger: 'chroot-test_squeeze_install_gnome_upgrade_to_wheezy, chroot-test_squeeze_install_kde_upgrade_to_wheezy, chroot-test_squeeze_install_lxde_upgrade_to_wheezy, chroot-test_squeeze_install_xfce_upgrade_to_wheezy, chroot-test_squeeze_install_full_desktop_upgrade_to_wheezy'

      - '{name}_wheezy_install_gnome':
         chroot_tester_params: 'wheezy gnome'
         my_description: 'Debootstrap wheezy, then install GNOME.'

      - '{name}_wheezy_install_kde':
         chroot_tester_params: 'wheezy kde'
         my_description: 'Debootstrap wheezy, then install KDE.'

      - '{name}_wheezy_install_xfce':
         chroot_tester_params: 'wheezy xfce'
         my_description: 'Debootstrap wheezy, then install XFCE.'

      - '{name}_wheezy_install_lxde':
         chroot_tester_params: 'wheezy lxde'
         my_description: 'Debootstrap wheezy, then install LXDE.'

      - '{name}_wheezy_install_full_desktop':
         chroot_tester_params: 'wheezy full_desktop'
         my_description: 'Debootstrap wheezy, then install four desktop environments and the most commonly used applications and packages.'
         my_trigger: 'chroot-test_wheezy_install_developer'

      - '{name}_wheezy_install_developer':
         chroot_tester_params: 'wheezy developer'
         my_description: 'Debootstrap wheezy, then install four desktop environments and the most commonly used applications and packages - and the build depends for all of these.'

      - '{name}_wheezy_bootstrap':
         chroot_tester_params: 'wheezy'
         my_description: 'Debootstrap wheezy.'
         my_trigger: 'chroot-test_wheezy_install_gnome, chroot-test_wheezy_install_kde, chroot-test_wheezy_install_lxde, chroot-test_wheezy_install_xfce, chroot-test_wheezy_install_full_desktop'

      - '{name}_housekeeping':
         my_description: 'Cleanup so that there is a predictable environment.'
         my_trigger: 'chroot-test_sid_bootstrap, chroot-test_wheezy_bootstrap, chroot-test_squeeze_bootstrap_upgrade_to_wheezy'