summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/release-push-langpacks/kind.yml
blob: 3d02277800af94d55000c32842006ad8f1bfab46 (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
55
# 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:
    - comm_taskgraph.transforms.push_langpacks:transforms
    - gecko_taskgraph.transforms.task:transforms

kind-dependencies:
    - build
    - shippable-l10n


only-for-build-platforms:
    - linux64-shippable/opt  # ATN only support 1 platform per locale. That's why we use linux64
    - macosx64-shippable/opt  # Although, we need the special locale "ja-JP-Mac" from this platform


job-template:
    description: Sends {locales} XPIs for platform to ATN
    worker-type: b-linux-gcp
    worker:
        docker-image: {in-tree: "tb-atn"}
        implementation: docker-worker
        os: linux
        max-run-time: 1800
        env:
            TASK_ID: {"task-reference": "<self>"}
            TASKCLUSTER_PROXY_URL: http://taskcluster
            PATH: /builds/worker/bin:/usr/local/bin:/usr/bin:/bin
        channel:
            by-project:
                comm-esr115:
                    by-platform:
                        # ja-JP-mac is only langpack on mac, and is unlisted always
                        macosx64.*: unlisted
                        default: listed
                comm-beta:
                    by-platform:
                        # ja-JP-mac is only langpack on mac, and is unlisted always
                        macosx64.*: unlisted
                        default: listed
                default: unlisted
        command:
            - /builds/worker/bin/run-task
            - "--"
            - /builds/worker/venv/bin/python
            - /builds/worker/bin/atn_langpack.py
    run-on-projects: []
    scopes:
        - secrets:get:project/comm/thunderbird/releng/build/level-{level}/atn_langpack
    shipping-phase: push
    shipping-product: thunderbird