summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/artifact-build/kind.yml
blob: 77da9ea7dedbb16d03c9ed9e567e66928c51c1df (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
54
# 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

kind-dependencies:
    - toolchain

transforms:
    - gecko_taskgraph.transforms.build_attrs:transforms
    - gecko_taskgraph.transforms.build_lints:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.artifact:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    use-system-python: false

jobs:
    linux64-artifact/opt:
        description: "Linux64 Opt Artifact Build"
        index:
            product: firefox
            job-name: linux64-artifact-opt
        treeherder:
            platform: linux64/opt
            kind: build
            symbol: AB
            tier: 2
        run-on-projects: ['mozilla-central']
        worker-type: b-linux-gcp
        worker:
            max-run-time: 3600
            env:
                PERFHERDER_EXTRA_OPTIONS: artifact
                MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
                MOZ_ARTIFACT_TASK: {task-reference: '<linux64-opt>'}
                USE_ARTIFACT: '1'
        run:
            using: mozharness
            actions: [get-secrets, build]
            config:
                - builds/releng_base_firefox.py
                - builds/releng_base_linux_64_builds.py
            script: "mozharness/scripts/fx_desktop_build.py"
            secrets: true
            tooltool-downloads: public
            keep-artifacts: false
        dependencies:
            linux64-opt: build-linux64/opt
        fetches:
            toolchain:
                - linux64-node