summaryrefslogtreecommitdiffstats
path: root/job-cfg/schroot.yaml
blob: d675dfb1318b141b24e6f956b69191472f3eaf3c (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
- defaults:
        name: schroot-create
        properties:
                - sidebar:
                        url: https://jenkins.debian.net/userContent/about.html
                        text: About jenkins.debian.net
                        icon: /userContent/images/debian-swirl-24x24.png
                - sidebar:
                        url: https://jenkins.debian.net/view/schroot-maint/
                        text: schroot maintainance jobs
                        icon: /userContent/images/debian-jenkins-24x24.png
                - sidebar:
                        url: http://www.profitbricks.com
                        text: Sponsored by Profitbricks
                        icon: /userContent/images/profitbricks-24x24.png
        publishers:
                - email:
                        recipients: jenkins+debian-qa holger@layer-acht.org
        triggers:
                - timed: '{my_time}'
        description: 'schroot "{schroot}" -- creation {do_not_edit}'
        distro: 'sid'
        extra-pkgs: ''
        block-downstream: yes
        builders:
                - shell: '/srv/jenkins/bin/schroot-create.sh {schroot} {distro} {extra_pkgs}'

- defaults:
        name: schroot-upgrade
        properties:
                - sidebar:
                        url: https://jenkins.debian.net/userContent/about.html
                        text: About jenkins.debian.net
                        icon: /userContent/images/debian-swirl-24x24.png
                - sidebar:
                        url: https://jenkins.debian.net/view/schroot-maint/
                        text: schroot maintainance jobs
                        icon: /userContent/images/debian-jenkins-24x24.png
                - sidebar:
                        url: http://www.profitbricks.com
                        text: Sponsored by Profitbricks
                        icon: /userContent/images/profitbricks-24x24.png
        publishers:
                - email:
                        recipients: jenkins+debian-qa holger@layer-acht.org
        triggers:
                - timed: '{my_time}'
        description: 'schroot "{schroot}" -- upgrade {do_not_edit}'
        distro: 'sid'
        extra-pkgs: ''
        block-downstream: yes
        builders:
                - shell: 'schroot -u root -c source:jenkins-{schroot} -- apt-get update'
                - shell: 'schroot -u root -c source:jenkins-{schroot} -- apt-get -y -u dist-upgrade'
                - shell: 'schroot -u root -c source:jenkins-{schroot} -- apt-get --purge autoremove'

- job-template:
        defaults: schroot-create
        name: '{schroot}-haskell-create'

- job-template:
        defaults: schroot-upgrade
        name: '{schroot}-haskell-upgrade'

- job-template:
        defaults: schroot-create
        name: '{schroot}-sid-create'

- job-template:
        defaults: schroot-upgrade
        name: '{schroot}-sid-upgrade'

- project:
        name: schroot
        do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/gitweb/?p=qa/jenkins.debian.net.git;a=blob;f=job-cfg/schroot.yaml">schroot.yaml</a>.'
        jobs:
                - '{name}-haskell-create':
                        extra_pkgs: 'cabal-install ghc dctrl-tools patchutils libtext-patch-perl libfile-slurp-perl  libipc-run-perl liblist-moreutils-perl libdpkg-perl'
                        my_time: '0 10 * * 1'
                - '{name}-haskell-upgrade':
                        my_time: '0 11 * * *'

                - '{name}-sid-create':
                        my_time: '0 10 * * 2'
                - '{name}-sid-upgrade':
                        my_time: '0 11 * * *'