aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-clo-u-boot.yaml
blob: a31da4a31a96daed2d66525a093d4551dc7b8542 (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
- job:
    name: lt-qcom-clo-u-boot
    project-type: matrix
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-qualcomm-ci:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
            artifact-num-to-keep: 1
    parameters:
        - string:
            name: UBOOT_REPO_URL
            default: 'https://gitlab.denx.de/u-boot/u-boot.git'
        - string:
            name: UBOOT_BRANCH
            default: 'master'
        - string:
            name: PUB_DEST
            default: '96boards/${MACHINE}/linaro/uboot/${BUILD_NUMBER}/'
        - string:
            name: PUBLISH_SERVER
            default: 'https://staging-artifacts.codelinaro.org/artifactory/codelinaro-qualcomm/'
        - string:
            name: CLO_MIGRATION
            default: 'true'
            description: 'Temporal variable which condition CLO code. This variable and conditions should be removed at some point'
    disabled: true
    node: master
    display-name: '[CLO] Qualcomm U-Boot build'
    scm:
        - git:
            url: ${UBOOT_REPO_URL}
            refspec: +refs/heads/${UBOOT_BRANCH}:refs/remotes/origin/${UBOOT_BRANCH}
            name: origin
            branches:
                - refs/heads/${UBOOT_BRANCH}
            basedir: uboot
            shallow-clone: true
            wipe-workspace: false
    axes:
        - axis:
            type: user-defined
            name: MACHINE
            values:
                - 'dragonboard410c'
        - axis:
            type: slave
            name: label
            values:
                - docker-buster-amd64
    execution-strategy:
        sequential: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
        - credentials-binding:
            - text:
                credential-id: LT_QCOM_CLO_API_KEY
                variable: LT_QCOM_CLO_API_KEY
    builders:
        - shell:
            !include-raw: lt-qcom/builders-deps.sh
        - shell:
            !include-raw: lt-qcom/install-gcc-toolchain.sh
        - inject:
            properties-file: gcc_toolchain_env
        - shell:
            !include-raw: lt-qcom-u-boot/builders.sh
        - shell:
            !include-raw: lt-qcom/publishers.sh
    publishers:
        - groovy-postbuild:
            script:
                !include-raw:
                  - rpb-openembedded/postbuild.groovy
        - email-ext:
            recipients: 'leonardo.sandoval@linaro.org nicolas.dechesne@linaro.org'
            failure: true
            still-failing: true
            matrix-trigger: only-parent