aboutsummaryrefslogtreecommitdiff
path: root/ldcg-cloud-image-debian.yaml
blob: 36851131251df5f867644e82cabfff77b09ef016 (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: ldcg-cloud-image-debian
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: docker-stretch-arm64-leg
    display-name: 'LDCG Cloud image Debian'
    wrappers:
        - timestamps
    builders:
        - shell:
            !include-raw: ldcg-cloud-image/debian/builders.sh
        - linaro-publish-token
        - shell: |
            #!/bin/bash

            # Publish
            test -d ${HOME}/bin || mkdir ${HOME}/bin
            wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
            time python ${HOME}/bin/linaro-cp.py \
              --server ${PUBLISH_SERVER} \
              --link-latest \
              out reference-platform/components/developer-cloud/debian-cloud-image/${BUILD_NUMBER}

            rm -rf out
    publishers:
        - email:
            recipients: 'fathi.boudra@linaro.org marcin.juszkiewicz@linaro.org'