aboutsummaryrefslogtreecommitdiff
path: root/rpb-openembedded.yaml
blob: b21875fc24d1b0f3956956297f46985d8229546e (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
- project:
    name: rpb-openembedded-template
    jobs:
        - 'rpb-openembedded-{branch}':
            branch: 'master'
            display-name: 'Reference Platform - OpenEmbedded ({branch})'
            disabled: false
            machines: !!python/tuple
                - 'dragonboard-410c'
                - 'dragonboard-845c'
                - 'intel-core2-32'
                - 'intel-corei7-64'
        - 'rpb-openembedded-{branch}':
            branch: 'dunfell'
            display-name: 'Reference Platform - OpenEmbedded ({branch})'
            disabled: false
            machines: !!python/tuple
                - 'dragonboard-410c'
                - 'dragonboard-845c'
        - 'rpb-openembedded-{branch}':
            branch: 'zeus'
            display-name: 'DELETE ME'
            disabled: true
            bb_override: '_'
            machines: !!python/tuple
                - 'dragonboard-410c'
                - 'dragonboard-845c'
        - 'rpb-openembedded-{branch}':
            branch: 'warrior'
            display-name: 'DELETE ME'
            disabled: true
            bb_override: '_'
            machines: !!python/tuple
                - 'dragonboard-410c'
                - 'dragonboard-845c'

- job-template:
    name: 'rpb-openembedded-{branch}'
    bb_override: ':'

    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
        artifactNumToKeep: 1
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            everyone-flat:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
    parameters:
        - string:
            name: IMAGES_RPB
            default: 'rpb-console-image rpb-console-image-test rpb-desktop-image rpb-desktop-image-test'
        - string:
            name: IMAGES_RPB_WAYLAND
            default: 'rpb-console-image rpb-console-image-test rpb-weston-image rpb-weston-image-test'
        - string:
            name: MANIFEST_URL
            default: 'https://github.com/96boards/oe-rpb-manifest.git'
        - string:
            name: MANIFEST_BRANCH
            default: '{branch}'
        - string:
            name: BB_OVERRIDE
            default: '{bb_override}'
    disabled: '{disabled}'
    node: master
    display-name: '{display-name}'
    axes:
        - axis:
            type: user-defined
            name: MACHINE
            values: '{machines}'
        - axis:
            type: user-defined
            name: DISTRO
            values:
                - rpb
                - rpb-wayland
    execution-strategy:
        combination-filter: |
            !(DISTRO=="rpb" && MACHINE=="imx8mqevk")
        sequential: false
    wrappers:
        - timestamps
        - workspace-cleanup
        - credentials-binding:
            - text:
                credential-id: TUXSUITE_TOKEN
                variable: TUXSUITE_TOKEN
    builders:
        - shell: |
            #!/bin/bash
            PUB_DEST="reference-platform/embedded/${{MANIFEST_BRANCH}}/${{MACHINE}}/${{BUILD_NUMBER}}/${{DISTRO}}"
            echo "PUB_DEST=${{PUB_DEST}}" > pub_dest_parameters
        - inject:
            properties-file: pub_dest_parameters
        - linaro-publish-token
        - shell:
            !include-raw-escape: rpb-openembedded/builders-tux.sh
        - inject:
            properties-file: parameters
    publishers:
        - groovy-postbuild:
            script:
                !include-raw-escape:
                  - lt-qcom/tuxpub.groovy
        - email-ext:
            recipients: 'fathi.boudra@linaro.org, nicolas.dechesne@linaro.org'
            failure: true
            still-failing: true
            matrix-trigger: only-parent