summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/system-symbols/kind.yml
blob: 0090454a682e824968334afa1ab1351bdac99c62 (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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# 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
        # This enables uploading symbols.
        enable-full-crashsymbols: true
    fetches:
        toolchain:
            - linux64-dump_syms
    treeherder:
        platform: symbols/opt
        kind: other
        tier: 2
    worker-type: b-linux-gcp
    worker:
        env:
            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system

jobs:
    mac:
        description: Extract macOS system symbols found in crashreports
        attributes:
            build_platform: macos
        index:
            product: system-symbols
            job-name: mac
            type: generic
        worker:
            env:
                PROCESSED_PACKAGES_INDEX: gecko.v2.mozilla-central.latest.system-symbols.mac
                PROCESSED_PACKAGES_PATH: public/build/processed-packages.gz
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-mac}
            max-run-time: 28800
        run:
            using: run-task
            command: >-
                ./run.sh
        treeherder:
            symbol: system-symbols-mac
        fetches:
            toolchain:
                - linux64-libdmg
    win:
        description: Extract windows system symbols found in crashreports
        attributes:
            build_platform: windows
        index:
            product: system-symbols
            job-name: win
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-win}
            max-run-time: 3600
        run:
            using: run-task
            command: >-
                ./run.sh
        treeherder:
            symbol: system-symbols-win
    archlinux:
        description: Extract ArchLinux system symbols found in crashreports
        attributes:
            build_platform: archlinux
        index:
            product: system-symbols
            job-name: archlinux
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh arch
        treeherder:
            symbol: sys-symbols-archlinux
        fetches:
            fetch:
                - symbol-scrapers
    debian:
        description: Extract Debian system symbols found in crashreports
        attributes:
            build_platform: debian
        index:
            product: system-symbols
            job-name: debian
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh debian
        treeherder:
            symbol: sys-symbols-debian
        fetches:
            fetch:
                - symbol-scrapers
    firefox-snap:
        description: Extract Firefox Snap symbols found in crashreports
        attributes:
            build_platform: firefox-snap
        index:
            product: system-symbols
            job-name: firefox-snap
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh firefox-snap
        treeherder:
            symbol: firefox-symbols-snap
        fetches:
            fetch:
                - symbol-scrapers
    flatpak:
        description: Extract Firefox Flatpak symbols found in crashreports
        attributes:
            build_platform: firefox-flatpak
        index:
            product: system-symbols
            job-name: firefox-flatpak
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh firefox-flatpak
        treeherder:
            symbol: firefox-symbols-fltpk
        fetches:
            fetch:
                - symbol-scrapers
    gnome-sdk-snap:
        description: Extract GNOME SDK Snap symbols found in crashreports
        attributes:
            build_platform: gnome-sdk-snap
        index:
            product: system-symbols
            job-name: gnome-sdk-snap
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh gnome-sdk-snap
        treeherder:
            symbol: gnome-sdk-symbols-snap
        fetches:
            fetch:
                - symbol-scrapers
    fedora:
        description: Extract Fedora system symbols found in crashreports
        attributes:
            build_platform: fedora
        index:
            product: system-symbols
            job-name: fedora
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh fedora
        treeherder:
            symbol: sys-symbols-fedora
        fetches:
            fetch:
                - symbol-scrapers
    opensuse:
        description: Extract OpenSUSE system symbols found in crashreports
        attributes:
            build_platform: opensuse
        index:
            product: system-symbols
            job-name: opensuse
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh opensuse
        treeherder:
            symbol: sys-symbols-opensuse
        fetches:
            fetch:
                - symbol-scrapers
    ubuntu:
        description: Extract Ubuntu system symbols found in crashreports
        attributes:
            build_platform: ubuntu
        index:
            product: system-symbols
            job-name: ubuntu
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh ubuntu
        treeherder:
            symbol: sys-symbols-ubuntu
        fetches:
            fetch:
                - symbol-scrapers
    win-gfx:
        description: Extract symbols from closed-source Windows graphics drivers
        attributes:
            build_platform: windows-graphics
        index:
            product: system-symbols
            job-name: win-gfx
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-win-gfx}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh
        treeherder:
            symbol: sys-symbols-win-gfx
        fetches:
            fetch:
                - symbol-scrapers
    alpine:
        description: Extract Alpine Linux system symbols found in crashreports
        attributes:
            build_platform: alpine
        index:
            product: system-symbols
            job-name: alpine
            type: generic
        worker:
            artifacts:
                - name: public/build
                  type: directory
                  path: /builds/worker/artifacts/
            docker-image: {in-tree: system-symbols-linux-scraper}
            max-run-time: 14400
        run:
            using: run-task
            command: >-
                ./run.sh alpine
        treeherder:
            symbol: sys-symbols-alpine
        fetches:
            fetch:
                - symbol-scrapers