aboutsummaryrefslogtreecommitdiff
path: root/qemu-lava-risu.yaml
blob: 21e3ef682d4399769a5799120bcbd7d93c260608 (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
- job:
    name: qemu-lava-risu
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
    disabled: false
    node: build
    child-workspace: .
    display-name: 'QEMU - run LAVA based RISU tests against OBS build'
    axes:
        - axis:
            type: user-defined
            name: TARGET
            values:
                - aarch64
    execution-strategy:
        sequential: true
    triggers:
        - pollurl:
            cron: '@hourly'
            polling-node: build
            urls:
              - url: 'http://obs.linaro.org/linaro-staging-stretch/Debian_9.0/Release'
                check-content:
                  - simple: true
    wrappers:
        - timestamps
        - matrix-tie-parent:
            node: build
    builders:
        - shell: |
            #!/bin/bash

            cat << EOF > post_build_lava_parameters
            DEVICE_TYPE=kvm
            CUSTOM_YAML_URL=https://git.linaro.org/people/alex.bennee/test-runners.git/blob_plain/HEAD:/qemu-master-${TARGET}-user-risu.yaml
            EOF
        - trigger-builds:
            - project: 'post-build-lava'
              property-file: post_build_lava_parameters
              block: true