aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux-testimages.yaml
blob: 3c062a94c204c816603c702ab0876b9d57b02bba (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
- job:
    name: lt-qcom-linux-testimages
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
        artifactNumToKeep: 1
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-landing-team-qualcomm-personnel:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
    parameters:
        - string:
            name: IMAGES
            default: 'initramfs-bootrr-image rpb-console-image-test'
        - string:
            name: MANIFEST_URL
            default: 'https://github.com/96boards/oe-rpb-manifest.git'
        - string:
            name: MANIFEST_BRANCH_PREFIX
            default: 'qcom/'
        - string:
            name: MANIFEST_BRANCH
            default: 'thud'
        - string:
            name: DISTRO
            default: 'rpb'
        - string:
            name: BASE_URL
            default: 'https://snapshots.linaro.org/'
    disabled: false
    node: master
    display-name: 'Qualcomm LT User space for kernel testing'
    axes:
        - axis:
            type: user-defined
            name: MACHINE
            values:
                - 'qemuarm64'
                - 'qemuarm'
        - axis:
            type: slave
            name: label
            values:
                - docker-stretch-amd64
    execution-strategy:
        sequential: false
    wrappers:
        - timestamps
        - ssh-agent-credentials:
            users:
                - 'OE_COMMIT_BOT_KEY'
    builders:
        - shell: |
            #!/bin/bash
            echo "PUB_DEST=member-builds/qcomlt/testimages/$(echo ${MACHINE} | sed 's/qemu//')/${BUILD_NUMBER}" > pub_dest_parameters
            # ensure that we generate the right image type, by default qemu* only generates .ext4, we need .ext4.gz
            echo "IMAGE_FSTYPES_remove = \"ext4\"" > auto.conf
            echo "IMAGE_FSTYPES_append = \" ext4.gz\"" >> auto.conf

            # configure serial in rpb-console-image-test
            echo "SERIAL_CONSOLES = \"115200;ttyMSM0\"" >> auto.conf
            # add machine dependent qcom services to rpb-console-image-test
            echo "CORE_IMAGE_EXTRA_INSTALL += \"rmtfs qrtr-apps wcnss-start\"" >> auto.conf
        - inject:
            properties-file: pub_dest_parameters
        - shell:
            !include-raw: rpb-openembedded/builders.sh
        - inject:
            properties-file: post_build_lava_parameters
        - linaro-publish-token
        - shell:
            !include-raw: rpb-openembedded/publishers.sh
    publishers:
        - groovy-postbuild:
            script:
                !include-raw:
                  - rpb-openembedded/postbuild.groovy
        - email-ext:
            recipients: 'nicolas.dechesne@linaro.org, anibal.limon@linaro.org'
            always: true
            matrix-trigger: only-parent