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

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

kind-dependencies:
    - system-symbols

job-template:
    description: Upload Symbols
    attributes:
        cron: true
    worker-type: b-linux-gcp
    worker:
        docker-image: {in-tree: "lint"}
        max-run-time: 1200
        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