aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux-aosp.yaml
blob: 43a91a02c8b561f1977399947d890ac31f8f5f3b (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
- job:
    name: lt-qcom-linux-aosp
    project-type: matrix
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-landing-team-qualcomm-personnel:
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
            artifact-num-to-keep: 1
    parameters:
        - string:
            name: KERNEL_REPO_URL
            default: 'https://git.linaro.org/landing-teams/working/qualcomm/kernel.git'
        - string:
            name: KERNEL_CONFIGS_arm64
            default: 'qcom_defconfig android-base.config android-recommended.config'
        - string:
            name: KERNEL_BUILD_TARGET
            default: 'all'
        - string:
            name: PUB_DEST
            default: "96boards/dragonboard410c/linaro/aosp/kernel/${BUILD_NUMBER}"
        - string:
            name: KERNEL_DTBS
            default: 'qcom/apq8016-sbc.dtb'
        - string:
            name: REFERENCE_BUILD_URL
            default: 'http://snapshots.linaro.org/android/robher-aosp-gendev/413/db410c-userdebug/'
        - string:
            name: QA_SERVER
            default: 'https://qa-reports.linaro.org'
        - string:
            name: QA_SERVER_PROJECT
            default: 'linaro-qcomlt-4.14-aosp'
        - string:
            name: KERNEL_DESCRIBE
        - string:
            name: KERNEL_VERSION
        - string:
            name: KERNEL_BRANCH
            default: 'release/android/qcomlt-4.14'
    disabled: false
    node: master
    display-name: 'Qualcomm LT Linux kernel build for AOSP'
    axes:
        - axis:
            type: user-defined
            name: ARCH
            values:
                - arm64
        - axis:
            type: slave
            name: label
            values:
                - docker-stretch-amd64
    execution-strategy:
        sequential: false
    scm:
        - git:
            url: ${KERNEL_REPO_URL}
            refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
            name: origin
            branches:
                - refs/heads/${KERNEL_BRANCH}
            basedir: linux
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
        - credentials-binding:
            - text:
                credential-id: QA_REPORTS_TOKEN
                variable: QA_REPORTS_TOKEN
    builders:
        - shell: |
            #!/bin/bash
            set -ex
            sudo apt-get update
            sudo apt-get install -y ccache bc kmod cpio python-pip
            pip install --user --force-reinstall ruamel.yaml
            pip install --user --force-reinstall Jinja2
        - shell:
            !include-raw: lt-qcom-linux/builders.sh
        - shell:
            !include-raw: lt-qcom-linux-aosp/package-aosp-bootimage.sh
        - linaro-publish-token
        - shell:
            !include-raw: lt-qcom-linux/publishers.sh
        - shell:
            !include-raw: lt-qcom-linux-aosp/submit_for_testing.sh
    publishers:
        - groovy-postbuild:
            script:
                !include-raw:
                  - rpb-openembedded/postbuild.groovy
        - email-ext:
            recipients: 'nicolas.dechesne@linaro.org todor.tomov@linaro.org'
            always: true
            matrix-trigger: only-parent