summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/upload-symbols/kind.yml
blob: 2948dc0abd49fda6b77f0717a400d71086e89374 (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
# 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.multi_dep:loader

group-by: platform

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

kind-dependencies:
    - build
    - toolchain

primary-dependency: build

not-for-build-platforms:
    # Address Sanitizer builds don't have symbols to upload.
    - linux64-asan-reporter-shippable/opt
    - win64-asan-reporter-shippable/opt
    - linux-geckodriver/opt
    - linux64-geckodriver/opt
    - linux64-aarch64-geckodriver/opt
    - macosx64-geckodriver/opt
    - macosx64-aarch64-geckodriver/opt
    - win32-geckodriver/opt
    - win64-geckodriver/opt
    - win64-aarch64-geckodriver/opt

job-template:
    description: Upload Symbols
    worker-type: b-linux-gcp
    use-system-python: false
    worker:
        docker-image: {in-tree: "debian11-base"}
        max-run-time: 1800
        env:
            # {level} gets replaced in the upload_symbols transform
            SYMBOL_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-upload"
            MAKECAB: /builds/worker/fetches/makecab/makecab
            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
    run:
        using: mach
        mach: {artifact-reference: "python toolkit/crashreporter/tools/upload_symbols.py <build/public/cidata/target.crashreporter-symbols-full.tar.zst>"}
        sparse-profile: upload-symbols
    scopes:
        - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-upload
    fetches:
        toolchain:
            - linux64-makecab