aboutsummaryrefslogtreecommitdiff
path: root/odp-dpdk-ofp-nginx-httperf.yaml
blob: 8159397c93eb3c95186e62aa946688d7b656bab6 (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
- job:
    name: odp-dpdk-ofp-nginx-httperf
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
            artifact-num-to-keep: 30
    parameters:
        - string:
            name: LAVA_SERVER
            default: 'lng.validation.linaro.org/RPC2/'
        - string:
            name: DEB_REPO_URL
            default: 'http://deb.opendataplane.org'
    disabled: true
    node: master
    display-name: 'DELETE ME'
    wrappers:
        - timestamps
    builders:
        - shell: |
            #!/bin/bash -e

            rm -rf configs
            git clone --depth 1 http://git.linaro.org/ci/job/configs.git

            sed -e "s|\${DEB_REPO_URL}|${DEB_REPO_URL}|" \
                configs/odp/lava-job-definitions/x86/odp-dpdk-ofp-nginx.yaml \
                > custom_lava_job_definition.yaml

            cat << EOF > post_build_lava_parameters
            CUSTOM_YAML_URL=${JOB_URL}/ws/custom_lava_job_definition.yaml
            DEVICE_TYPE=x86
            LAVA_SERVER=${LAVA_SERVER}
            EOF
        - trigger-builds:
            - project: 'post-build-lava'
              property-file: post_build_lava_parameters
              block: true
    publishers:
        - email:
            recipients: 'fathi.boudra@linaro.org josep.puigdemont@linaro.org'