summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/shippable-l10n/kind.yml
blob: ddd6c2540166c00b6a9f401ba7ccfc2233333ffe (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# 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

transforms:
    - taskgraph.transforms.from_deps
    - gecko_taskgraph.transforms.l10n
    - gecko_taskgraph.transforms.job
    - gecko_taskgraph.transforms.task

kind-dependencies:
    - build
    - build-signing
    - fetch
    - repackage
    - toolchain

only-for-build-platforms:
    - linux64-shippable/opt
    - linux-shippable/opt
    - linux64-aarch64-shippable/opt
    - macosx64-shippable/opt
    - win32-shippable/opt
    - win64-shippable/opt
    - win64-aarch64-shippable/opt
    - linux64-devedition/opt
    - linux-devedition/opt
    - macosx64-devedition/opt
    - win32-devedition/opt
    - win64-devedition/opt
    - win64-aarch64-devedition/opt

jobs:
    shippable-l10n:
        description: Localization
        from-deps:
            group-by: platform
        locales-file: browser/locales/l10n-changesets.json
        locales-per-chunk: 5
        run-on-projects: ['release']
        attributes:
            shipping_phase: promote
        ignore-locales:
            by-build-platform:
                # OSX has a special locale for japanese
                macosx64.*: [ja]
                default: [ja-JP-mac]
        run-time: 1800
        fetches:
            toolchain:
                by-build-platform:
                    default: []
                    macosx64.*:
                        - linux64-libdmg
                        - linux64-hfsplus
                    win.*:
                        - linux64-wine
                        - nsis
            fetch:
                by-build-platform:
                    default: []
                    win.*:
                        - upx-3.95-win
        tooltool:
            by-build-platform:
                default: internal
                linux.*: public
        index:
            type: shippable-l10n
            product:
                by-build-platform:
                    default: firefox
                    .*-devedition: devedition
            job-name:
                by-build-platform:
                    linux-shippable: linux-opt
                    linux64-shippable: linux64-opt
                    linux64-aarch64-shippable: linux64-aarch64-opt
                    macosx64-shippable: macosx64-opt
                    win32-shippable: win32-opt
                    win64-shippable: win64-opt
                    win64-aarch64-shippable: win64-aarch64-opt
                    linux-devedition: linux-devedition-opt
                    linux64-devedition: linux64-devedition-opt
                    macosx64-devedition: macosx64-devedition-opt
                    win32-devedition: win32-devedition-opt
                    win64-devedition: win64-devedition-opt
                    win64-aarch64-devedition: win64-aarch64-devedition-opt
        worker-type: b-linux-gcp
        treeherder:
            symbol: L10n(B)
            tier: 1
            platform:
                by-build-platform:
                    linux64-shippable: linux64-shippable/opt
                    linux64-aarch64-shippable: linux64-aarch64-shippable/opt
                    linux-shippable: linux32-shippable/opt
                    macosx64-shippable: osx-shippable/opt
                    win32-shippable: windows2012-32-shippable/opt
                    win64-shippable: windows2012-64-shippable/opt
                    win64-aarch64-shippable: windows2012-aarch64-shippable/opt
                    linux64-devedition: linux64-devedition/opt
                    linux-devedition: linux32-devedition/opt
                    macosx64-devedition: osx-cross-devedition/opt
                    win32-devedition: windows2012-32-devedition/opt
                    win64-devedition: windows2012-64-devedition/opt
                    win64-aarch64-devedition: windows2012-aarch64-devedition/opt
        env:
            by-build-platform:
                linux.*:    # linux64 and 32 get same treatment here
                    EN_US_PACKAGE_NAME: target.tar.bz2
                    EN_US_BINARY_URL:
                        artifact-reference: <build-signing/{artifact_prefix}>
                macosx64.*:
                    EN_US_PACKAGE_NAME: target.dmg
                    EN_US_BINARY_URL:
                        artifact-reference: <repackage/{artifact_prefix}>
                win.*:
                    EN_US_PACKAGE_NAME: target.zip
                    EN_US_BINARY_URL:
                        artifact-reference: <build-signing/{artifact_prefix}>
        mozharness:
            config:
                by-build-platform:
                    linux-shippable:
                        - single_locale/firefox.py
                        - single_locale/linux32.py
                        - single_locale/tc_common.py
                        - single_locale/tc_linux_common.py
                        - taskcluster_nightly.py
                    linux64-shippable:
                        - single_locale/firefox.py
                        - single_locale/linux64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_linux_common.py
                        - taskcluster_nightly.py
                    linux64-aarch64-shippable:
                        - single_locale/firefox.py
                        - single_locale/linux64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_linux_common.py
                        - taskcluster_nightly.py
                    macosx64-shippable:
                        - single_locale/firefox.py
                        - single_locale/macosx64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_macosx64.py
                        - taskcluster_nightly.py
                    win32-shippable:
                        - single_locale/firefox.py
                        - single_locale/win32.py
                        - single_locale/tc_common.py
                        - single_locale/tc_win32.py
                        - taskcluster_nightly.py
                    win64-shippable:
                        - single_locale/firefox.py
                        - single_locale/win64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_win64.py
                        - taskcluster_nightly.py
                    win64-aarch64-shippable:
                        - single_locale/firefox.py
                        - single_locale/win64-aarch64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_win64.py
                        - taskcluster_nightly.py
                    linux-devedition:
                        - single_locale/devedition.py
                        - single_locale/linux32.py
                        - single_locale/tc_common.py
                        - single_locale/tc_linux_common.py
                        - taskcluster_nightly.py
                    linux64-devedition:
                        - single_locale/devedition.py
                        - single_locale/linux64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_linux_common.py
                        - taskcluster_nightly.py
                    macosx64-devedition:
                        - single_locale/devedition.py
                        - single_locale/macosx64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_macosx64.py
                        - taskcluster_nightly.py
                    win32-devedition:
                        - single_locale/devedition.py
                        - single_locale/win32.py
                        - single_locale/tc_common.py
                        - single_locale/tc_win32.py
                        - taskcluster_nightly.py
                    win64-devedition:
                        - single_locale/devedition.py
                        - single_locale/win64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_win64.py
                        - taskcluster_nightly.py
                    win64-aarch64-devedition:
                        - single_locale/devedition.py
                        - single_locale/win64-aarch64.py
                        - single_locale/tc_common.py
                        - single_locale/tc_win64.py
                        - taskcluster_nightly.py
            # no default, so we fail on new entries
            actions: ['clone-locales', 'list-locales', 'setup', 'repack',
                      'summary']
            script: mozharness/scripts/desktop_l10n.py