summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/system-symbols-upload/kind.yml
blob: 301297f6a909e86c8718772ce8ea506d14482659 (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
# 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.single_dep:loader

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

kind-dependencies:
    - system-symbols

job-template:
    description: Upload Symbols
    attributes:
        cron: true
    worker-type: b-linux
    worker:
        docker-image: {in-tree: "lint"}
        max-run-time: 900
        env:
            # {level} gets replaced in the upload_symbols transform
            SYMBOL_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-upload"
    run:
        using: mach
        mach: {artifact-reference: "python toolkit/crashreporter/tools/upload_symbols.py <build/public/build/target.crashreporter-symbols.zip> --ignore-missing"}
        sparse-profile: upload-symbols
    scopes:
        - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-upload