aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-debian-images.yaml
blob: e604f4cc4dc7b41018e1cd217ee1cf26b6d045d2 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
- project:
    name: lt-qcom-debian-images
    jobs:
        - 'lt-qcom-debian-images-{machine}':
            device: 'dragonboard-410c'
            fai-class: 'DB410C'
            rootfs: 'developer,3G alip,4G installer,2G'
            bootimg-pagesize: 2048
            sdcard: 'developer,6G'
            dtbs: 'qcom/apq8016-sbc.dtb'
            name: 'Snapdragon 410'
            machine: 'dragonboard410c'
        - 'lt-qcom-debian-images-{machine}':
            device: 'dragonboard-820c'
            fai-class: 'DB820C'
            rootfs: 'developer,3G alip,4G'
            dtbs: 'qcom/apq8096-db820c.dtb'
            name: 'Snapdragon 820'
            machine: 'dragonboard820c'
        - 'lt-qcom-debian-images-{machine}':
            device: 'dragonboard-845c'
            fai-class: 'DB845C'
            rootfs: 'developer,3G gnome,5G'
            dtbs: 'qcom/sdm845-db845c.dtb'
            name: 'Snapdragon 845'
            cmdline: 'clk_ignore_unused pd_ignore_unused'
            machine: 'dragonboard845c'
        - 'lt-qcom-debian-images-{machine}':
            device: 'qrb5165-rb5'
            fai-class: 'RB5'
            rootfs: 'developer,3G gnome,5G'
            dtbs: 'qcom/qrb5165-rb5.dtb'
            name: 'Qualcomm RB5'
            cmdline: 'pcie_pme=nomsi'
            machine: 'qrb5165-rb5'

- job-template:
    name: 'lt-qcom-debian-images-{machine}'
    # defaults
    bootimg-pagesize: 4096
    cmdline:
    sdcard:

    project-type: freestyle
    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
    parameters:
        - string:
            name: DEVICE_TYPE
            default: '{device}'
        - string:
            name: LAVA_SERVER
            default: 'https://validation.linaro.org/RPC2/'
        - string:
            name: PMWG_LAVA_SERVER
            default: 'https://pmwg.validation.linaro.org/RPC2/'
        - string:
            name: QA_SERVER
            default: 'https://qa-reports.linaro.org'
        - string:
            name: VENDOR
            default: 'linaro'
        - string:
            name: OS_FLAVOUR
            default: 'sid'
        - string:
            name: PLATFORM_NAME
            default: '{device}'
        - string:
            name: FAI_BOARD_CLASS
            default: '{fai-class}'
        - string:
            name: ROOTFS
            default: '{rootfs}'
        - string:
            name: SDCARD
            default: '{sdcard}'
        - string:
            name: DTBS
            default: '{dtbs}'
        - string:
            name: SERIAL_CONSOLE
            default: 'ttyMSM0'
        - string:
            name: BOOTIMG_PAGESIZE
            default: '{bootimg-pagesize}'
        - string:
            name: BOOTIMG_BASE
            default: '0x80000000'
        - string:
            name: BOOTIMG_KERNEL_OFFSET
            default: '0x8000'
        - string:
            name: BOOTIMG_RAMDISK_OFFSET
            default: '0x1000000'
        - string:
            name: BOOTIMG_TAGS_OFFSET
            default: '0x100'
        - string:
            name: KERNEL_CMDLINE_PLATFORM
            default: '{cmdline}'
        - string:
            name: REPO_URL
            default: 'https://git.linaro.org/ci/fai.git'
    disabled: false
    node: docker-stretch-arm64
    display-name: 'Qualcomm Debian based images for {name}'
    scm:
        - git:
            url: '${{REPO_URL}}'
            refspec: +refs/heads/master:refs/remotes/origin/master
            name: origin
            branches:
                - refs/heads/master
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${{BUILD_NUMBER}}'
        - credentials-binding:
            - text:
                credential-id: QA_REPORTS_TOKEN
                variable: QA_REPORTS_TOKEN
            - text:
                credential-id: ARTIFACTORIAL_TOKEN
                variable: ARTIFACTORIAL_TOKEN
        - ssh-agent-credentials:
            users:
                - 'LT_QUALCOMM_PRIVATE_KEY_SSH'
    builders:
        - shell: |
            #!/bin/bash
            echo "PUB_DEST=96boards/{machine}/${{VENDOR}}/debian/${{BUILD_NUMBER}}" >> parameters
        - inject:
            properties-file: parameters
        - linaro-publish-token
        - shell:
            !include-raw-escape: lt-qcom-debian-images/builders-fai.sh
        - shell:
            !include-raw-escape: lt-qcom-debian-images/installer.sh
        - shell:
            !include-raw-escape: lt-qcom-debian-images/sdcard.sh
        - linaro-publish-token
        - shell:
            !include-raw-escape: lt-qcom-debian-images/publishers.sh
        - shell:
            !include-raw-escape: lt-qcom-debian-images/submit_for_testing.sh
    publishers:
        - groovy-postbuild:
            script:
                !include-raw-escape:
                  - rpb-openembedded/postbuild.groovy
                  - openembedded-lkft/postbuild.groovy
        - email-ext:
            recipients: 'nicolas.dechesne@linaro.org anibal.limon@linaro.org'
            failure: true
            still-failing: true