aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-openembedded-meta-qcom-premerge.yaml
blob: e758405ed32df5e8e74c88973b5b3457504ce5a7 (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
- project:
    name: lt-qcom-openembedded-meta-qcom-premerge
    jobs:
      - lt-qcom-openembedded-meta-qcom-premerge-{branch}:
            branch: 'master'
            machines: !!python/tuple
                - 'dragonboard-410c'
                - 'dragonboard-845c'
                - 'qrb5165-rb5'
                - 'qcom-armv8a'
                - 'sdx55-mtp'
      - lt-qcom-openembedded-meta-qcom-premerge-{branch}:
            branch: 'dunfell'
            machines: !!python/tuple
                - 'dragonboard-410c'
                - 'dragonboard-845c'
                - 'qrb5165-rb5'
                - 'qcom-armv8a'
- job-template:
    name: lt-qcom-openembedded-meta-qcom-premerge-{branch}
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
        artifactNumToKeep: 1
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
                - job-workspace
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - github:
            url: https://github.com/ndechesne/meta-qcom
    parameters:
        - string:
            name: IMAGES
            default: 'core-image-base core-image-weston core-image-x11 initramfs-test-image'
        - string:
            name: POKY_URL
            default: 'http://git.yoctoproject.org/git/poky'
        - string:
            name: DISTRO
            default: 'poky'
    disabled: false
    node: master
    display-name: 'Premerge CI for meta-qcom Layer with Poky ({branch})'
    scm:
        - git:
            url: https://github.com/ndechesne/meta-qcom
            refspec: +refs/pull/*:refs/remotes/origin/pr/*
            name: origin
            basedir: meta-qcom
            branches:
                - ${{sha1}}
            skip-tag: true
            shallow-clone: true
            wipe-workspace: true
    triggers:
        - github-pull-request:
            github-hooks: true
            permit-all: true
            trigger-phrase: '.*(re)?run tests.*'
            cancel-builds-on-update: true
            white-list-target-branches:
                - '{branch}'
            auth-id: 'GITHUB_TOKEN'
    axes:
        - axis:
            type: user-defined
            name: MACHINE
            values: '{machines}'
        - axis:
            type: user-defined
            name: TCLIBC
            values:
                - 'glibc'
                - 'musl'
        - axis:
            type: slave
            name: label
            values:
                - docker-buster-amd64
    execution-strategy:
        sequential: false
    wrappers:
        - timestamps
        - timeout:
            timeout: 300
    builders:
        - shell:
            !include-raw-escape: lt-qcom/meta-qcom.sh
    publishers:
        - email-ext:
            recipients: 'nicolas.dechesne@linaro.org'
            always: true
            failure: false
            matrix-trigger: only-parent