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

# multi_dep loader will need to group on "build_platform" attribute
group-by: platform

# we need that to apply grouping only on jobs that have "build_platform", so we
# dont fail for the "fetch" kind that does is a dependency but does not have it
only-for-attributes:
    - build_platform

transforms:
    - gecko_taskgraph.transforms.reprocess_symbols:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

primary-dependency: system-symbols

kind-dependencies:
    - system-symbols
    - system-symbols-upload
    - fetch

job-template:
    description: Reprocess Symbols on Crash-Stats
    attributes:
        cron: true
    worker-type: b-linux-gcp
    worker:
        docker-image: {in-tree: system-symbols-linux-scraper}
        max-run-time: 7200
        env:
            # {level} gets replaced in the reprocess_symbols transform
            CRASHSTATS_SECRET: "project/releng/gecko/build/level-{level}/gecko-symbol-reprocess"
            DUMP_SYMS: "/bin/false"
    run:
        using: run-task
        command: {artifact-reference: "${MOZ_FETCHES_DIR}/symbol-scrapers/reprocess.sh <build/public/build/target.crashreporter-symbols.zip>"}
    fetches:
        fetch:
            - symbol-scrapers
    scopes:
        - secrets:get:project/releng/gecko/build/level-{level}/gecko-symbol-reprocess