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

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

kind-dependencies:
    - system-symbols

jobs:
    system-symbols-upload:
        description: Upload Symbols
        from-deps: {}
        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 <system-symbols/public/build/target.crashreporter-symbols.zip> --ignore-missing"}
            sparse-profile: upload-symbols
        scopes:
            - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-upload