summaryrefslogtreecommitdiffstats
path: root/job-cfg/reproducible.yaml
blob: ded67cfa46a1a436046426930f59bdc140caf9e1 (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
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
- defaults: &DEFAULTS
    name: reproducible
    project-type: freestyle
    my_disabled:
    disabled: '{obj:my_disabled}'
    properties: &sidebar
      - sidebar: &sb1
          url: https://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar: &sb2
          url: https://jenkins.debian.net/view/reproducible
          text: reproducible builds jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar: &sb3
          url: http://www.profitbricks.co.uk
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
    description: &desc '{my_description}<br>Job  configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/reproducible.yaml">reproducible.yaml</a>.<br>Results are available at <a href="https://tests.reproducible-builds.org/">https://tests.reproducible-builds.org</a>.'
    triggers:
      - timed: '{my_timed}'
    logrotate: &logrotate
      daysToKeep: 90
      numToKeep: 150
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    builders:
      - shell: '{my_shell}'
    publishers:
      - logparser: &logparser
          parse-rules: '/srv/jenkins/logparse/reproducible.rules'
          unstable-on-warning: 'true'
          fail-on-error: 'true'
      - email: &email
          recipients: '{my_recipients}'
      - naginator: &naginator
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 3
          regular-expression: '{my_naginator_regex}'
    node: '{my_node}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_git
    triggers:
      - timed: '{my_timed}'
      - pollscm:
          cron: '{my_scmpoll}'
    publishers:
      - logparser: *logparser
      - email: *email
      - naginator: *naginator
    scm:
      - git:
          url: '{my_gitrepo}'
          branches:
            - master

- defaults:
    <<: *DEFAULTS
    name: reproducible_builder_trigger
    properties:
      - sidebar: *sb1
      - sidebar: *sb2
      - sidebar: *sb3
      - priority-sorter:
          priority: '150'
    wrappers:
      - timeout:
          timeout: 1560
    logrotate:
      daysToKeep: 3
      numToKeep: 300
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    publishers:
      - logparser: *logparser
      - email:
          recipients: '{my_recipients}'
          notify-every-unstable-build: false
      - trigger:
          project: '{my_trigger}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects
    publishers:
      - logparser: &logparser-extra
          <<: *logparser
          parse-rules: '/srv/jenkins/logparse/reproducible-extra.rules'
      - email: *email

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects_blocked
    publishers:
      - logparser: *logparser-extra
      - email: *email
    properties:
      - sidebar: *sb1
      - sidebar: *sb2
      - sidebar: *sb3
      - build-blocker:
          use-build-blocker: true
          blocking-jobs:
            - '{my_blocker}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects_git
    triggers:
      - timed: '{my_timed}'
      - pollscm:
          cron: '*/6 * * * *'
    publishers:
      - logparser:
          <<: *logparser
          parse-rules: '{my_parse_rules}'
      - email: *email
      - naginator: *naginator
    scm:
      - git:
          url: '{my_gitrepo}'
          branches:
            - '{my_gitbranches}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects_git_blocked
    triggers:
      - timed: '{my_timed}'
      - pollscm:
          cron: '*/6 * * * *'
    publishers:
      - logparser:
          <<: *logparser
          parse-rules: '{my_parse_rules}'
      - email: *email
      - naginator: *naginator
    scm:
      - git:
          url: '{my_gitrepo}'
          branches:
            - '{my_gitbranches}'
    properties:
      - sidebar: *sb1
      - sidebar: *sb2
      - sidebar: *sb3
      - build-blocker:
          use-build-blocker: true
          blocking-jobs:
            - '{my_blocker}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects_git_junit_exports
    triggers:
      - timed: '{my_timed}'
      - pollscm:
          cron: '*/6 * * * *'
    publishers:
      - logparser:
          <<: *logparser
          parse-rules: '{my_parse_rules}'
      - email: *email
      - naginator: *naginator
      - junit:
          results: 'job-exports/test-results/*.xml'
          allow-empty-results: 'true'
    scm:
      - git:
          url: '{my_gitrepo}'
          branches:
            - '{my_gitbranches}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects_trigger
    publishers:
      - logparser: *logparser-extra
      - email: *email
      - trigger:
          project: '{my_trigger}'

- defaults:
    <<: *DEFAULTS
    name: reproducible_other_projects_artifacts
    publishers:
      - logparser: *logparser-extra
      - archive:
          artifacts: 'results/*.*'
          latest-only: false
          allow-empty: true
      - email: *email
      - trigger:
          project: '{my_trigger}'
    properties:
      - build-blocker:
          use-build-blocker: true
          blocking-jobs:
            - '{my_blocker}'

- job-template:
    defaults: reproducible
    name: '{name}_{my_task}'

- job-template:
    defaults: reproducible
    name: '{name}_{my_task}_{my_arch}_{my_hname}'

- job-template:
    defaults: reproducible
    name: '{name}_setup_schroot_{my_distro}_{my_arch}_{my_hname}'

- job-template:
    defaults: reproducible_git
    name: '{name}_html_{my_reponame}'

- job-template:
    defaults: reproducible_other_projects
    name: '{name}_{otherproject}'

- job-template:
    defaults: reproducible_other_projects_blocked
    name: '{name}_{otherproject_blocked}'

- job-template:
    defaults: reproducible_other_projects_git
    name: '{name}_{otherproject_git}'

- job-template:
    defaults: reproducible_other_projects_git_blocked
    name: '{name}_{otherproject_git_blocked}'

- job-template:
    defaults: reproducible_other_projects_git_junit_exports
    name: '{name}_{otherproject_git_junit_exports}'

- job-template:
    defaults: reproducible_other_projects_trigger
    name: '{name}_{otherproject_triggering}'

- job-template:
    defaults: reproducible_other_projects_artifacts
    name: '{name}_{otherproject_artifacts}'

- job-template:
    defaults: reproducible_builder_trigger
    name: '{name}_builder_{otherproject}_{my_num}'

- project:
    name: reproducible
    my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
    my_node: '{my_hname}'
    my_scmpoll: '*/6 * * * *'
    my_naginator_regex: 'dummyshouldneverhappen'
    jobs:
        - '{name}_{my_task}_{my_arch}_{my_hname}':
            my_task:
                - 'maintenance':
                    my_description: 'Do some maintenance: check for old files and directories, do backups, update pbuilder and schroots, etc.'
                    my_timed: '5 0,2,4,6,8,10,12,14,16,18,20,22 * * *'
            my_shell: '/srv/jenkins/bin/reproducible_maintenance.sh'
            my_hname:
                - 'jenkins':        { my_arch: 'amd64' }
            my_node: ''
            my_task:
                - 'node_health_check':
                    my_description: 'Do some health checks.'
                    my_timed: 'H/15 * * * *'
                    my_recipients: ''
            my_shell: '/srv/jenkins/bin/reproducible_node_health_check.sh'
            my_hname:
                - 'jenkins':        { my_arch: 'amd64' }
            my_node: ''

        - '{name}_{my_task}_{my_arch}_{my_hname}':
            my_task:
                - 'maintenance':
                    my_description: 'Do some maintenance: check for old files and directories, do backups, update pbuilder and schroots, etc.'
                    my_timed: '5 0,2,4,6,8,10,12,14,16,18,20,22 * * *'
            my_hname:
                - 'bbx15':          { my_arch: 'armhf' }
                - 'bpi0':           { my_arch: 'armhf' }
                - 'cbxi4a':         { my_arch: 'armhf' }
                - 'cbxi4b':         { my_arch: 'armhf' }
                - 'cbxi4pro0':      { my_arch: 'armhf' }
                - 'cb3a':           { my_arch: 'armhf' }
                - 'ff2a':           { my_arch: 'armhf' }
                - 'ff2b':           { my_arch: 'armhf' }
                - 'ff4a':           { my_arch: 'armhf' }
                - 'ff64a':          { my_arch: 'armhf' }
                - 'hb0':            { my_arch: 'armhf' }
                - 'jtk1a':          { my_arch: 'armhf' }
                - 'jtk1b':          { my_arch: 'armhf' }
                - 'jtx1a':          { my_arch: 'armhf' }
                - 'jtx1b':          { my_arch: 'armhf' }
                - 'jtx1c':          { my_arch: 'armhf' }
                - 'odxu4a':          { my_arch: 'armhf' }
                - 'odxu4b':         { my_arch: 'armhf' }
                - 'odxu4c':         { my_arch: 'armhf' }
                - 'odu3a':          { my_arch: 'armhf' }
                - 'opi2a':          { my_arch: 'armhf' }
                - 'opi2b':          { my_arch: 'armhf' }
                - 'opi2c':          { my_arch: 'armhf' }
                - 'rpi2b':          { my_arch: 'armhf' }
                - 'rpi2c':          { my_arch: 'armhf' }
                - 'p64b':           { my_arch: 'armhf' }
                - 'p64c':           { my_arch: 'armhf' }
                - 'wbd0':           { my_arch: 'armhf' }
                - 'wbq0':           { my_arch: 'armhf' }
                - 'profitbricks1':  { my_arch: 'amd64' }
                - 'profitbricks2':  { my_arch: 'i386'  }
                - 'profitbricks3':  { my_arch: 'amd64' }
                - 'profitbricks4':  { my_arch: 'amd64' }
                - 'profitbricks5':  { my_arch: 'amd64' }
                - 'profitbricks6':  { my_arch: 'i386'  }
                - 'profitbricks7':  { my_arch: 'amd64' }
                - 'profitbricks11': { my_arch: 'amd64' }
                - 'profitbricks12': { my_arch: 'i386'  }
                - 'profitbricks15': { my_arch: 'amd64' }
                - 'profitbricks16': { my_arch: 'i386'  }
                - 'codethink9':     { my_arch: 'arm64' }
                - 'codethink10':    { my_arch: 'arm64' }
                - 'codethink11':    { my_arch: 'arm64' }
                - 'codethink12':    { my_arch: 'arm64' }
                - 'codethink13':    { my_arch: 'arm64' }
                - 'codethink14':    { my_arch: 'arm64' }
                - 'codethink15':    { my_arch: 'arm64' }
                - 'codethink16':    { my_arch: 'arm64' }
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
        - '{name}_{my_task}_{my_arch}_{my_hname}':
            my_task:
                - 'node_health_check':
                    my_description: 'Do some health checks'
                    my_timed: 'H/15 * * * *'
                    my_recipients: ''
            my_hname:
                - 'bbx15':          { my_arch: 'armhf' }
                - 'bpi0':           { my_arch: 'armhf' }
                - 'cbxi4a':         { my_arch: 'armhf' }
                - 'cbxi4b':         { my_arch: 'armhf' }
                - 'cbxi4pro0':      { my_arch: 'armhf' }
                - 'cb3a':           { my_arch: 'armhf' }
                - 'ff2a':           { my_arch: 'armhf' }
                - 'ff2b':           { my_arch: 'armhf' }
                - 'ff4a':           { my_arch: 'armhf' }
                - 'ff64a':          { my_arch: 'armhf' }
                - 'hb0':            { my_arch: 'armhf' }
                - 'jtk1a':          { my_arch: 'armhf' }
                - 'jtk1b':          { my_arch: 'armhf' }
                - 'jtx1a':          { my_arch: 'armhf' }
                - 'jtx1b':          { my_arch: 'armhf' }
                - 'jtx1c':          { my_arch: 'armhf' }
                - 'odxu4a':          { my_arch: 'armhf' }
                - 'odxu4b':         { my_arch: 'armhf' }
                - 'odxu4c':         { my_arch: 'armhf' }
                - 'odu3a':          { my_arch: 'armhf' }
                - 'opi2a':          { my_arch: 'armhf' }
                - 'opi2b':          { my_arch: 'armhf' }
                - 'opi2c':          { my_arch: 'armhf' }
                - 'rpi2b':          { my_arch: 'armhf' }
                - 'rpi2c':          { my_arch: 'armhf' }
                - 'p64b':           { my_arch: 'armhf' }
                - 'p64c':           { my_arch: 'armhf' }
                - 'wbd0':           { my_arch: 'armhf' }
                - 'wbq0':           { my_arch: 'armhf' }
                - 'profitbricks1':  { my_arch: 'amd64' }
                - 'profitbricks2':  { my_arch: 'i386'  }
                - 'profitbricks3':  { my_arch: 'amd64' }
                - 'profitbricks4':  { my_arch: 'amd64' }
                - 'profitbricks5':  { my_arch: 'amd64' }
                - 'profitbricks6':  { my_arch: 'i386'  }
                - 'profitbricks7':  { my_arch: 'amd64' }
                - 'profitbricks11': { my_arch: 'amd64' }
                - 'profitbricks12': { my_arch: 'i386'  }
                - 'profitbricks15': { my_arch: 'amd64' }
                - 'profitbricks16': { my_arch: 'i386'  }
                - 'codethink9':     { my_arch: 'arm64' }
                - 'codethink10':    { my_arch: 'arm64' }
                - 'codethink11':    { my_arch: 'arm64' }
                - 'codethink12':    { my_arch: 'arm64' }
                - 'codethink13':    { my_arch: 'arm64' }
                - 'codethink14':    { my_arch: 'arm64' }
                - 'codethink15':    { my_arch: 'arm64' }
                - 'codethink16':    { my_arch: 'arm64' }
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'

        - '{name}_{my_task}_{my_arch}_{my_hname}':
            my_task:
                - 'setup_pbuilder_stretch':
                    my_description: 'Setup pbuilder for reproducible builds of packages from stretch as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
                    my_timed: '23 7 * * *'
                - 'setup_pbuilder_buster':
                    my_description: 'Setup pbuilder for reproducible builds of packages from buster as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
                    my_timed: '23 8 * * *'
                - 'setup_pbuilder_unstable':
                    my_description: 'Setup pbuilder for reproducible builds of packages from unstable as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
                    my_timed: '42 7 * * *'
                - 'setup_pbuilder_experimental':
                    my_description: 'Setup pbuilder for reproducible builds of packages from experimental as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
                    my_timed: '33 7 * * *'
                - 'setup_schroot_unstable':
                    my_description: 'Setup unstable schroot for fetching source packages for the builder jobs.'
                    my_timed: '20 1 * * *'
                - 'setup_schroot_stretch':
                    my_description: 'Setup stretch schroot for fetching source packages for the builder jobs.'
                    my_timed: '0 1 * * *'
                - 'setup_schroot_buster':
                    my_description: 'Setup buster schroot for fetching source packages for the builder jobs.'
                    my_timed: '0 2 * * *'
                - 'setup_schroot_experimental':
                    my_description: 'Setup experimental schroot for fetching source packages for the builder jobs.'
                    my_timed: '40 1 * * *'
            my_hname:
                - 'bbx15':          { my_arch: 'armhf' }
                - 'bpi0':           { my_arch: 'armhf' }
                - 'cbxi4a':         { my_arch: 'armhf' }
                - 'cbxi4b':         { my_arch: 'armhf' }
                - 'cbxi4pro0':      { my_arch: 'armhf' }
                - 'cb3a':           { my_arch: 'armhf' }
                - 'ff2a':           { my_arch: 'armhf' }
                - 'ff2b':           { my_arch: 'armhf' }
                - 'ff4a':           { my_arch: 'armhf' }
                - 'ff64a':          { my_arch: 'armhf' }
                - 'hb0':            { my_arch: 'armhf' }
                - 'jtk1a':          { my_arch: 'armhf' }
                - 'jtk1b':          { my_arch: 'armhf' }
                - 'jtx1a':          { my_arch: 'armhf' }
                - 'jtx1b':          { my_arch: 'armhf' }
                - 'jtx1c':          { my_arch: 'armhf' }
                - 'odxu4a':          { my_arch: 'armhf' }
                - 'odxu4b':         { my_arch: 'armhf' }
                - 'odxu4c':         { my_arch: 'armhf' }
                - 'odu3a':          { my_arch: 'armhf' }
                - 'opi2a':          { my_arch: 'armhf' }
                - 'opi2b':          { my_arch: 'armhf' }
                - 'opi2c':          { my_arch: 'armhf' }
                - 'rpi2b':          { my_arch: 'armhf' }
                - 'rpi2c':          { my_arch: 'armhf' }
                - 'p64b':           { my_arch: 'armhf' }
                - 'p64c':           { my_arch: 'armhf' }
                - 'wbd0':           { my_arch: 'armhf' }
                - 'wbq0':           { my_arch: 'armhf' }
                - 'profitbricks1':  { my_arch: 'amd64' }
                - 'profitbricks2':  { my_arch: 'i386'  }
                - 'profitbricks5':  { my_arch: 'amd64' }
                - 'profitbricks6':  { my_arch: 'i386'  }
                - 'profitbricks11': { my_arch: 'amd64' }
                - 'profitbricks12': { my_arch: 'i386'  }
                - 'profitbricks15': { my_arch: 'amd64' }
                - 'profitbricks16': { my_arch: 'i386'  }
                - 'codethink9':     { my_arch: 'arm64' }
                - 'codethink10':    { my_arch: 'arm64' }
                - 'codethink11':    { my_arch: 'arm64' }
                - 'codethink12':    { my_arch: 'arm64' }
                - 'codethink13':    { my_arch: 'arm64' }
                - 'codethink14':    { my_arch: 'arm64' }
                - 'codethink15':    { my_arch: 'arm64' }
                - 'codethink16':    { my_arch: 'arm64' }
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
            my_naginator_regex: '^E: Couldn.t download .*/Packages'

        - '{name}_setup_schroot_{my_distro}_{my_arch}_{my_hname}':
            my_distro:
                - 'unstable_diffoscope':
                    my_description: 'Setup schroot for running diffoscope in a unstable environment (this is needed to be able to correctly investigate haskell binaries...)'
                    my_timed: '42 0 * * *'
                    my_shell: '/srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable-diffoscope unstable diffoscope locales-all'
                - 'stretch_diffoscope':
                    my_description: 'Setup schroot for running diffoscope in a stretch environment (this is needed to be able to correctly investigate haskell binaries...)'
                    my_timed: '23 0 * * *'
                    my_shell: '/srv/jenkins/bin/schroot-create.sh reproducible reproducible-stretch-diffoscope stretch diffoscope locales-all'
                - 'buster_diffoscope':
                    my_description: 'Setup schroot for running diffoscope in a buster environment (this is needed to be able to correctly investigate haskell binaries...)'
                    my_timed: '23 0 * * *'
                    my_shell: '/srv/jenkins/bin/schroot-create.sh reproducible reproducible-buster-diffoscope buster diffoscope locales-all'
                - 'unstable':
                    my_timed: '42 1 * * *'
                    my_shell: '/srv/jenkins/bin/schroot-create.sh reproducible reproducible-{my_distro} {my_distro}'
                - 'stretch':
                    my_timed: '42 1 * * *'
                - 'buster':
                    my_timed: '42 2 * * *'
                - 'experimental':
                    my_timed: '33 1 * * *'
            my_description: 'Setup {my_distro} schroot for fetching source packages for the builder jobs.'
            my_shell: '/srv/jenkins/bin/schroot-create.sh reproducible reproducible-{my_distro} {my_distro}'
            my_hname:
                - 'jenkins':        { my_arch: 'amd64' }
            my_node: ''
            my_naginator_regex: '^E: Couldn.t download .*/Packages'

        - '{name}_{my_task}_{my_arch}_{my_hname}':
            my_task:
                - 'setup_schroot_unstable_diffoscope':
                    my_description: 'Setup schroot for running diffoscope in a unstable environment'
                    my_timed: '42 0 * * *'
                    my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
            my_hname:
                - 'profitbricks3':  { my_arch: 'amd64' }
            my_naginator_regex: '^E: Couldn.t download .*/Packages'

        - '{name}_{my_task}':
            my_task:
                - 'scheduler':
                    my_description: 'Schedule packages to be tested for reproducibility.'
                    # dinstall runs 1|7|13|19:52 UTC - see https://anonscm.debian.org/git/mirror/dak.git/tree/config/debian/crontab
                    my_timed: '23 0,3,6,9,12,15,18,21 * * *'
                    my_shellext: ".py"
                - 'html_dashboard':
                    my_description: 'Generate HTML dashboard with graphs for reproducible builds.'
                    my_timed: '*/15 * * * *'
                - 'html_pkg_sets':
                    my_description: 'Generate HTML results (package sets with graphs) for reproducible builds.'
                    my_timed: '*/30 * * * *'
                    my_shellext: ".py"
                - 'html_indexes':
                    my_description: 'Generate HTML results (indexes) for reproducible builds.'
                    my_timed: '*/30 * * * *'
                    my_shellext: ".py"
                - 'html_dd_list':
                    my_description: 'Generate HTML results (dd-list) for reproducible builds.'
                    my_timed: '55 */4 * * *'
                    my_shellext: ".py"
                - 'html_all_packages':
                    my_description: 'Generate HTML results (for all packages) for reproducible builds. This job is rather redudant and just run to give a fuzzy warm feeling all pages are good.'
                    my_timed: '37 13 * * 1'
                    my_shellext: ".py"
                - 'html_repository_comparison':
                    my_description: 'Generate HTML results (repository_comparison) for reproducible builds.'
                    my_timed: '0 1 * * *'
                - 'html_breakages':
                    my_description: 'Generate an HTML page with CI issues (packages with incoherent status or files that should or should not be there).'
                    my_timed: '30 0,12 * * *'
                    my_shellext: ".py"
                - 'html_rsync_remote_results':
                    my_description: 'rsync the results from some remote jobs to the main node.'
                    my_timed: ''
                - 'html_live_status':
                    my_description: 'Generate an HTML page showing the live status of all builds happening or scheduled by humans.'
                    my_timed: 'H/10 * * * *'
                    my_shellext: ".py"
                - 'html_nodes_info':
                    my_description: 'Collect various information from build nodes used for reproducible builds and generate static HTML pages with various information about nodes.'
                    my_timed: '0 0 * * *'
                - 'create_meta_pkg_sets':
                    my_description: 'Create meta package sets for later consumption when generating HTML stats.'
                    my_timed: '0 6 * * H/3'
                - 'json':
                    my_description: 'Generate https://reproducible.debian.net/userContent/reproducible.json for consumption by tracker.debian.org.'
                    my_timed: '1 H/2 * * *'
                    my_shellext: ".py"
                - 'html_archlinux':
                    my_description: 'Build a simple webpage for Arch Linux reproducibility tests'
                    my_timed: ''
                - 'html_fedora-23_x86_64':
                    my_description: 'Build a simple webpage for Fedora 23 reproducibility tests'
                    my_timed: ''
                    my_shell: '/srv/jenkins/bin/reproducible_html_rpms.sh fedora-23 x86_64'
                - 'diffoscope_pypi':
                    my_description: 'Test whether PyPI has the latest diffoscope.'
                    my_timed: '23 23 * * *'
                    my_shell: '/srv/jenkins/bin/diffoscope_distribution_test.sh PyPI'
                    my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
                - 'diffoscope_freebsd':
                    my_description: 'Test whether FreeBSD has the latest diffoscope.'
                    my_timed: '25 23 1 * *'
                    my_shell: '/srv/jenkins/bin/diffoscope_distribution_test.sh FreeBSD'
                - 'diffoscope_netbsd':
                    my_description: 'Test whether NetBSD has the latest diffoscope.'
                    my_timed: '27 23 1 * *'
                    my_shell: '/srv/jenkins/bin/diffoscope_distribution_test.sh NetBSD'
                - 'diffoscope_macports':
                    my_description: 'Test whether MacPorts has the latest diffoscope.'
                    my_timed: '29 23 1 * *'
                    my_shell: '/srv/jenkins/bin/diffoscope_distribution_test.sh MacPorts'
            my_shellext: ".sh"
            my_shell: '/srv/jenkins/bin/reproducible_{my_task}{my_shellext}'
            my_hname: ''

        - '{name}_html_{my_reponame}':
            my_reponame:
                - 'notes':
                    my_description: 'Generate HTML results ({my_reponame}) for reproducible builds, triggered by changes to the <a href="https://anonscm.debian.org/git/reproducible/{my_reponame}.git" target="_blank">{my_reponame}.git</a> repository.'
                    my_timed: '57 0 * * *'
                    my_scmpoll: 'H/1 H/1 * * *'
                    my_shell: '/srv/jenkins/bin/reproducible_{my_reponame}.py && /srv/jenkins/bin/reproducible_html_{my_reponame}.py'
                - 'source-date-epoch-spec':
                    my_description: 'Generate the HTML of the reproducible builds SOURCE_DATE_EPOCH specification, triggered by changes to the <a href="https://anonscm.debian.org/git/reproducible/{my_reponame}.git" target="_blank">{my_reponame}.git</a> repository.'
                    my_timed: ''
                    my_shell: '/srv/jenkins/bin/reproducible_html_specs.sh {my_reponame}'
                    my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org'
                - 'build-path-prefix-map-spec':
                    my_description: 'Generate the HTML of the reproducible builds BUILD_PATH_PREFIX_MAP specification, triggered by changes to the <a href="https://anonscm.debian.org/git/reproducible/{my_reponame}.git" target="_blank">{my_reponame}.git</a> repository.'
                    my_timed: ''
                    my_shell: '/srv/jenkins/bin/reproducible_html_specs.sh {my_reponame}'
                    my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org'
            my_gitrepo: 'git://git.debian.org/git/reproducible/{my_reponame}.git'
            my_hname: ''
            my_naginator_regex: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'

        - '{name}_{otherproject_artifacts}':
            otherproject_artifacts:
                - 'lede-target-ar71xx':
                    my_timed: '42 21 * * 4'
                    my_lede_config: 'CONFIG_TARGET_ar71xx=y'
                    my_lede_target: 'ar71xx'
                - 'lede-target-ramips':
                    my_timed: '42 23 * * 4'
                    my_lede_config: 'CONFIG_TARGET_ramips=y'
                    my_lede_target: 'ramips'
                - 'lede-target-x86':
                    my_timed: '42 1 * * 5'
                    my_lede_config: 'CONFIG_TARGET_x86=y'
                    my_lede_target: 'x86'
                - 'openwrt':
                    my_description: 'Rebuild OpenWrt (some targets, some packages) twice (with variations) and investigate regarding reproducibility.'
                    my_timed: '42 23 * * 2'
                    my_shell: '/srv/jenkins/bin/reproducible_openwrt.sh master'
            my_description: 'Rebuild LEDE (one target, some packages) twice (with variations) and investigate regarding reproducibility.'
            my_shell: '/srv/jenkins/bin/reproducible_lede.sh master {my_lede_target} {my_lede_config}'
            my_trigger: ''
            my_hname: ''
            my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org lynxis@fe80.eu'
            my_blocker: '^reproducible_(lede|openwrt).*'

        - '{name}_{otherproject_triggering}':
            otherproject_triggering:
                - 'coreboot':
                    my_description: 'Rebuild all coreboot ROMs twice (with variations) and investigate regarding reproducibility.'
                    my_timed: '42 23 * * 1'
                    my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org lynxis@fe80.eu'
                - 'netbsd':
                    my_description: 'Rebuild NetBSD (for some archs) twice (with variations) and investigate regarding reproducibility.'
                    my_timed: '42 23 * * 3'
            my_trigger: 'reproducible_html_rsync_remote_results'
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
            my_hname: 'profitbricks3'
            my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org'

        - '{name}_{otherproject}':
            otherproject:
                - 'freebsd':
                    my_description: 'Rebuild FreeBSD twice (with variations) and investigate regarding reproducibility.'
                    my_timed: '42 23 * * 4'
                    my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org'
                    my_shell: '/srv/jenkins/bin/reproducible_freebsd.sh'
                - 'setup_schroot_archlinux_jenkins':
                    my_description: 'Setup an Arch Linux schroot to test Arch Linux packages for reproducibility.'
                    my_timed: '42 23 1 1 *'
                    my_shell: '/srv/jenkins/bin/reproducible_setup_archlinux_schroot.sh'
                    my_disabled: true
                - 'setup_schroot_archlinux_profitbricks3':
                    my_description: 'Setup an Arch Linux schroot to test Arch Linux packages for reproducibility.'
                    my_timed: '42 23 1 1 *'
                    my_hname: 'profitbricks3'
                - 'setup_schroot_archlinux_profitbricks4':
                    my_description: 'Setup an Arch Linux schroot to test Arch Linux packages for reproducibility.'
                    my_timed: '42 23 1 1 *'
                    my_hname: 'profitbricks4'
                    my_disabled: false
                - 'setup_mock_fedora-23_x86_64_jenkins':
                    my_description: 'Setup mock for fedora-23 on X86_64 to test .rpm packages for reproducibility.'
                    my_timed: '42 23 1 1 *'
                    my_shell: '/srv/jenkins/bin/reproducible_setup_mock.sh fedora-23 x86_64'
                    my_disabled: true
                - 'setup_mock_fedora-23_x86_64_profitbricks3':
                    my_description: 'Setup mock for fedora-23 on X86_64 to test .rpm packages for reproducibility.'
                    my_timed: '42 23 1 1 *'
                    my_hname: 'profitbricks3'
                    my_disabled: true
                - 'setup_mock_fedora-23_x86_64_profitbricks4':
                    my_description: 'Setup mock for fedora-23 on X86_64 to test .rpm packages for reproducibility.'
                    my_timed: '42 23 1 1 *'
                    my_hname: 'profitbricks4'
                    my_disabled: true
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
            my_hname: ''

        - '{name}_{otherproject_blocked}':
            otherproject_blocked:
                - 'setup_fdroid_build_environment':
                    my_description: 'Setup a build environment for F-Droid.'
                    my_timed: '42 0 * * 1'
                    my_hname: 'profitbricks7'
                    my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org hans@guardianproject.info michael.poehn@fsfe.org'
                    my_blocker: '^reproducible.*fdroid.*'
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'

        - '{name}_{otherproject_git_blocked}':
            otherproject_git_blocked:
                - 'fdroid_build_apps':
                    my_description: 'Build all the latest apps for F-Droid.'
                    my_timed: '42 7 * * 1'
                    my_hname: 'profitbricks7'
                    my_gitrepo: 'https://gitlab.com/eighthave/fdroidserver-for-jenkins.debian.net.git'
                    my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org hans@guardianproject.info michael.poehn@fsfe.org'
                    my_blocker: '^reproducible.*fdroid.*'
            my_gitbranches: 'master'
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
            my_parse_rules: '/srv/jenkins/logparse/reproducible-extra.rules'
            my_naginator_regex: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'

        - '{name}_{otherproject_git}':
            otherproject_git:
                - 'reprotest_from_git_master':
                    my_description: 'Build reprotest Debian package from git branch master.'
                    my_timed: '42 23 1 1 *'
                    my_hname: ''
                    my_gitrepo: 'git://anonscm.debian.org/git/reproducible/reprotest.git'
                    my_gitbranches: 'origin/master'
                    my_shell: '/srv/jenkins/bin/chroot-run.sh sid debuild -uc -us'
                    my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
                - 'strip-nondeterminism_from_git_master':
                    my_description: 'Build strip-nondeterminism Debian package from git branch master.'
                    my_timed: '42 23 1 1 *'
                    my_hname: ''
                    my_gitrepo: 'git://anonscm.debian.org/git/reproducible/strip-nondeterminism.git'
                    my_gitbranches: 'origin/master'
                    my_shell: '/srv/jenkins/bin/chroot-run.sh sid gbp buildpackage -uc -us --git-upstream-branch=master'
                    my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
                - 'disorderfs_from_git_master':
                    my_description: 'Build disorderfs Debian package from git branch master.'
                    my_timed: '42 23 1 1 *'
                    my_hname: ''
                    my_gitrepo: 'git://anonscm.debian.org/git/reproducible/disorderfs.git'
                    my_gitbranches: 'origin/master'
                    my_shell: '/srv/jenkins/bin/chroot-run.sh sid gbp buildpackage -uc -us --git-upstream-branch=master'
                    my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
                - 'builds_website':
                    my_description: 'Build https://reproducible-builds.org on every git commit to https://anonscm.debian.org/git/reproducible/reproducible-website.git with jekyll.'
                    my_timed: ''
                    my_hname: ''
                    my_gitrepo: 'git://git.debian.org/git/reproducible/reproducible-website.git'
                    my_gitbranches: 'origin/master'
                    my_shell: 'jekyll build -s . -d /srv/reproducible-builds.org/www'
            my_gitbranches: 'master'
            my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
            my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
            my_parse_rules: '/srv/jenkins/logparse/reproducible-extra.rules'
            my_hname: ''
            my_naginator_regex: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'

        - '{name}_{otherproject_git_junit_exports}':
            otherproject_git_junit_exports:
             - 'diffoscope_from_git_master':
                my_description: 'Build diffoscope Debian package from git branch master.'
                my_gitbranches: 'origin/master'
             - 'diffoscope_from_git_branches':
                my_description: 'Build diffoscope Debian package from git branches other than master.'
                my_gitbranches: ':^(?!origin/master$).*'
            my_timed: '42 23 1 1 *'
            my_gitrepo: 'git://anonscm.debian.org/git/reproducible/diffoscope.git'
            my_hname: ''
            my_shell: '/srv/jenkins/bin/chroot-run.sh sid --exports-results debuild -e JENKINS_EXPORTS_DIR -uc -us'
            my_parse_rules: '/srv/jenkins/logparse/debian-pkg-ci.rules'
            my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
        - '{name}_builder_{otherproject}_{my_num}':
            otherproject:
                - 'archlinux':
                    my_num: 1
                    op_descname: 'an Arch Linux'
                - 'archlinux':
                    my_num: 2
                    op_descname: 'an Arch Linux'
                - 'fedora-23_x86_64':
                    my_num: 1
                    op_descname: 'a Fedora 23'
                    my_shell: '/srv/jenkins/bin/reproducible_build_rpm.sh fedora-23 x86_64'
                - 'fedora-23_x86_64':
                    my_num: 2
                    op_descname: 'a Fedora 23'
                    my_shell: '/srv/jenkins/bin/reproducible_build_rpm.sh fedora-23 x86_64'
                # when you add another fedora builder here
                # the loop in bin/reproducible_setup_mock.sh needs to be increased too
            my_description: 'Try to reproducibly build {op_descname} package.'
            my_shell: '/srv/jenkins/bin/reproducible_build_{otherproject}_pkg.sh'
            my_timed: '* * * * *'
            my_trigger: 'reproducible_html_{otherproject}'
            my_hname: ''
            my_disabled: true