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

kind-dependencies:
    - build

only-for-attributes:
    - nightly
    - shippable
    - upload-generated-sources

not-for-build-platforms:
    - macosx64-shippable/opt
    - macosx64-devedition/opt

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 --virtualenv upload-generated-sources 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