summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/system-symbols/kind.yml
blob: a7a92bff089ed3eac516b3c347bd2581b28e97b8 (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
# 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: taskgraph.loader.transform:loader

kind-dependencies:
    - toolchain
    - fetch

transforms:
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

job-defaults:
    attributes:
        cron: true
        # This enables uploading symbols.
        enable-full-crashsymbols: true
    treeherder:
        platform: symbols/opt
        kind: other
        tier: 2
    worker-type: b-linux

jobs:
    mac:
        description: Extract macOS system symbols found in crashreports
        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
    win:
        description: Extract windows system symbols found in crashreports
        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
        fetches:
            toolchain:
                - linux64-dump-syms