summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/snap-upstream-build/kind.yml
blob: 7016989ba8911a9d270483c3268e50514e1c6cd8 (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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
loader: gecko_taskgraph.loader.transform:loader

kind-dependencies:
    - toolchain
    - fetch

transforms:
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    attributes:
        cron: true
    treeherder:
        kind: build
        tier: 2
        symbol: B
    worker-type: b-linux-gcp
    run:
        checkout: true
    worker:
        artifacts:
            - name: public/build
              type: directory
              path: /builds/worker/artifacts/
        docker-image: {in-tree: snap-build-core22}
        max-run-time: 900
        env:
            UPLOAD_DIR: artifacts
            MOZ_STACKWALK_SYMBOLS_SERVER: '1'
    fetches:
        toolchain:
            - linux64-minidump-stackwalk

jobs:
    amd64-nightly/opt:
        description: Build Firefox Nightly as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-nightly
            build_type: opt
        index:
            product: firefox
            job-name: amd64-nightly
            type: generic
        worker:
            max-run-time: 9000
        run:
            using: run-task
            command: >-
              ./run.sh nightly
        treeherder:
            platform: linux64-snap-amd64-nightly/opt

    amd64-nightly/debug:
        description: Build Firefox Nightly (debug) as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-nightly
            build_type: debug
        index:
            product: firefox
            job-name: amd64-nightly-debug
            type: generic
        worker:
            max-run-time: 7200
        run:
            using: run-task
            command: >-
              ./run.sh nightly 1
        treeherder:
            platform: linux64-snap-amd64-nightly/debug

    amd64-beta/opt:
        description: Build Firefox Beta as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-beta
            build_type: opt
        index:
            product: firefox
            job-name: amd64-beta
            type: generic
        worker:
            max-run-time: 9000
        run:
            using: run-task
            command: >-
              ./run.sh beta
        treeherder:
            platform: linux64-snap-amd64-beta/opt

    amd64-beta/debug:
        description: Build Firefox Beta (debug) as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-beta
            build_type: debug
        index:
            product: firefox
            job-name: amd64-beta-debug
            type: generic
        worker:
            max-run-time: 7200
        run:
            using: run-task
            command: >-
              ./run.sh beta 1
        treeherder:
            platform: linux64-snap-amd64-beta/debug

    amd64-stable/opt:
        description: Build Firefox Stable as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-stable
            build_type: opt
        index:
            product: firefox
            job-name: amd64-stable
            type: generic
        worker:
            max-run-time: 9000
        run:
            using: run-task
            command: >-
              ./run.sh stable
        treeherder:
            platform: linux64-snap-amd64-stable/opt

    amd64-stable/debug:
        description: Build Firefox Stable (debug) as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-stable
            build_type: debug
        index:
            product: firefox
            job-name: amd64-stable-debug
            type: generic
        worker:
            max-run-time: 7200
        run:
            using: run-task
            command: >-
              ./run.sh stable 1
        treeherder:
            platform: linux64-snap-amd64-stable/debug

    amd64-esr/opt:
        description: Build Firefox ESR as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-esr
            build_type: opt
        index:
            product: firefox
            job-name: amd64-esr
            type: generic
        worker:
            max-run-time: 9000
        run:
            using: run-task
            command: >-
              ./run.sh esr
        treeherder:
            platform: linux64-snap-amd64-esr/opt

    amd64-esr/debug:
        description: Build Firefox ESR (debug) as a Snap using upstream definition
        attributes:
            build_platform: linux64-snap-upstream-esr
            build_type: debug
        index:
            product: firefox
            job-name: amd64-esr-debug
            type: generic
        worker:
            max-run-time: 7200
        run:
            using: run-task
            command: >-
              ./run.sh esr 1
        treeherder:
            platform: linux64-snap-amd64-esr/debug

    amd64-try/opt:
        description: Build Firefox Nightly as a Snap using upstream definition and try repo
        attributes:
            build_platform: linux64-snap-upstream-try
            build_type: opt
        index:
            product: firefox
            job-name: amd64-try
            type: generic
        worker:
            max-run-time: 9000
        run:
            using: run-task
            command: >-
              ./run.sh try
        treeherder:
            platform: linux64-snap-amd64-try/opt

    amd64-try/debug:
        description: Build Firefox Nightly (debug) as a Snap using upstream definition and try repo
        attributes:
            build_platform: linux64-snap-upstream-try
            build_type: debug
        index:
            product: firefox
            job-name: amd64-try-debug
            type: generic
        worker:
            max-run-time: 7200
        run:
            using: run-task
            command: >-
              ./run.sh try 1
        treeherder:
            platform: linux64-snap-amd64-try/debug