summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/upload-generated-sources/kind.yml
blob: 0b4a679e384f7d7711d959588e84aec85d99bd32 (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
# 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_generated_sources:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

kind-dependencies:
    - build

only-for-attributes:
    - nightly
    - shippable

job-template:
    description: Upload generated source files from build
    worker-type: t-linux-xlarge
    treeherder:
        symbol: Ugs
        kind: build
    worker:
        docker-image: {in-tree: "lint"}
        max-run-time: 600
    run:
        using: mach
        mach: {artifact-reference: "python build/upload_generated_sources.py <build/public/build/target.generated-files.tar.gz>"}
        sparse-profile: upload-generated-sources
    scopes:
        - secrets:get:project/releng/gecko/build/level-{level}/gecko-generated-sources-upload