aboutsummaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-tcwg-test-schroot-sessions.yaml
blob: 072cf7a9f3ff6d5d3e3df0e158844497e31e340c (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
- job:
    name: tcwg-cleanup-stale-tcwg-test-schroot-sessions
    project-type: multijob
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: tcwg-x86_64-cam
    display-name: 'TCWG CCC Cleanup stale tcwg-test schroot sessions'
    triggers:
        - timed: '@daily'
    wrappers:
        - timeout:
            timeout: 60
        - timestamps
        - ssh-agent-credentials:
            # tcwg-buildslave user id
            users:
                - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
        - build-name:
            name: '#${BUILD_NUMBER}'
    builders:
        - multijob:
            name: 'Cleanup stale tcwg-test schroots'
            condition: SUCCESSFUL
            projects:
              - name: tcwg-cleanup-stale-schroot-sessions
                predefined-parameters: schroot_name=tcwg-test-*
                restrict-matrix-project: 'label=="tcwg-aarch64-07" || label=="tcwg-aarch64-test-01" || label=="tcwg-aarch64-test-02"'
    publishers:
        - email:
            recipients: 'maxim.kuvyrkov@linaro.org christophe.lyon@linaro.org'