summaryrefslogtreecommitdiffstats
path: root/job-cfg/schroot.yaml
blob: 4eadbb2991fa9e80350fabd18a5802e4da206e53 (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
- defaults:
        name: schroot
        publishers:
                - email:
                        recipients: jenkins+debian-qa holger@layer-acht.org
        triggers:
                - timed: '{my_time}'


- job-template:
        defaults: schroot
        name: '{schroot}-create'
        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}'

- job-template:
        defaults: schroot
        name: '{schroot}-upgrade'
        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'

- project:
        name: haskell-schroot
        schroot: haskell
        jobs:
                - '{schroot}-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'
                - '{schroot}-upgrade':
                        my_time: '0 11 * * *'
        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>.'

- project:
        name: sid-schroot
        schroot: sid
        jobs:
                - '{schroot}-create':
                        my_time: '0 10 * * 2'
                - '{schroot}-upgrade':
                        my_time: '0 11 * * *'
        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>.'