aboutsummaryrefslogtreecommitdiff
path: root/odp-x86-64-test-definitions.yaml
blob: 8950a8ece3ce1b7c1a2cec14ebe0de3ef1027030 (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
- job:
    name: odp-x86-64-test-definitions
    project-type: freestyle
    defaults: global
    description: |
        * Send a job to LAVA to test ODP's validation test suite on a x86-64
        * openembedded rootfs with the latest code from ODPs repository.
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
        - build-discarder:
            num-to-keep: 30
            days-to-keep: 30
    parameters:
        - string:
            name: BUNDLE_STREAM_NAME
            default: '/public/team/lng/odp/'
        - string:
            name: LAVA_SERVER
            default: 'lng.validation.linaro.org/RPC2/'
        - string:
            name: PUB_DEST
            default: 'http://snapshots.linaro.org/openembedded/images/odp-x86-64-gcc-5.2/'
        - string:
            name: UPSTREAM_BUILD_NUMBER
            default: '1'
    disabled: false
    node: master
    display-name: 'ODP validation (x86-64) - Submit LAVA test definitions'
    wrappers:
        - timestamps
    builders:
        - shell: |
            cat << EOF > post_build_lava_parameters
            DEVICE_TYPE=x86
            BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
            CUSTOM_JSON_URL=${PUB_DEST}/${UPSTREAM_BUILD_NUMBER}/lava/template-base.json
            LAVA_SERVER=${LAVA_SERVER}
            EOF
        - trigger-builds:
            - project: 'post-build-lava'
              property-file: post_build_lava_parameters
              block: true