summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/config.yml
blob: 25f6583be46bac8dfff6c73dd49bd0c5489afea8 (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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# 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/.
---
trust-domain: comm
project-repo-param-prefix: comm_
product-dir: comm/mail

treeherder:
    group-names:
        # Images/Packages/Toolchain
        'Deb8': 'Packages for Debian 8'
        'Deb8-32': 'Packages for Debian 8 32-bits'
        'Deb11': 'Packages for Debian 11'
        'Fetch': 'Fetch and store content'
        'Ub18': 'Packages for Ubuntu 18.04'
        'Ub20': 'Packages for Ubuntu 20.04'
        'I': 'Docker Image Builds'
        'TA': 'Toolchain builds for Android'
        'TL': 'Toolchain builds for Linux 64-bits'
        'TM': 'Toolchain builds for OSX'
        'TMW': 'Toolchain builds for Windows MinGW'
        'TW32': 'Toolchain builds for Windows 32-bits'
        'TW64': 'Toolchain builds for Windows 64-bits'

        # Release promotion
        'BM': 'Beetmover'
        'BMcs': 'Beetmover checksums,'
        'BMcss': 'Beetmover checksums for source'
        'BMR': 'Beetmover repackages'
        'c-Up': 'Balrog submission of complete updates'
        'cs': 'Checksum signing'
        'css': 'Checksum signing for source'
        'Flatpak': 'Flatpak image generation'
        'L10n': 'Localised Repacks'
        'L10n-Rpk': 'Localized Repackaged Repacks'
        'l10n-bump': 'L10n Bumper'
        'langpack': 'Langpack uploads to ATN'
        'ms': 'Complete MAR signing'
        'MSI': 'Repack installers into MSIs'
        'MSIs': 'Signing of Repacked installers of MSIs'
        'MSIX': 'Repack into MSIX package'
        'MSIXs': 'Signing of Repack into MSIX package'
        'p': 'Partial generation'
        'ps': 'Partials signing'
        'Rel': 'Release promotion'
        'rs': 'Repackage signing'
        'UV': 'Update verify'

        # mozlint
        'cpp': 'C/C++ checks'
        'js': 'JavaScript checks'
        'l10n': 'Localization checks'
        'misc': 'Misc checks'
        'pedantic': 'pedantic checks'
        'py': 'Python checks'
        'text': 'Check on texts'

        # Tests
        'X': 'Xpcshell tests'
        'X-msix': 'Xpcshell tests on msix packages'
        'M': 'Mochitests'
        'M-msix': 'Mochitests from MSIX builds'

        'Searchfox': 'Searchfox builds'
        'doc': 'Source docs'

index:
    products:
        - thunderbird
        - static-analysis

try:
    ridealong-builds: {}

release-promotion:
    products:
        - 'thunderbird'
    flavors:
        promote_thunderbird:
            product: thunderbird
            target-tasks-method: promote_desktop
            partial-updates: true
        push_thunderbird:
            product: thunderbird
            target-tasks-method: push_desktop
            partial-updates: true
        ship_thunderbird:
            product: thunderbird
            target-tasks-method: ship_desktop
            version-bump: true
            partial-updates: true

# Paths in this section should not be prefixed by comm/
# Behavior names are prefixed with 'comm-'
merge-automation:
    behaviors:
        comm-central-to-beta:
            fetch-version-from: "mail/config/version.txt"
            version-files:
                - filename: "mail/config/version.txt"
                  new-suffix: ''
                - filename: "mail/config/version_display.txt"
                  new-suffix: 'b1'
            replacements:
                - - mail/config/mozconfigs/l10n-common
                  - ac_add_options --with-branding=comm/mail/branding/nightly
                  - ac_add_options --enable-official-branding
                - - .gecko_rev.yml
                  - "GECKO_HEAD_REPOSITORY: https://hg.mozilla.org/mozilla-central"
                  - "GECKO_HEAD_REPOSITORY: https://hg.mozilla.org/releases/mozilla-beta"
                - - suite/config/version.txt
                  - a1
                  - ''
                - - suite/config/version_display.txt
                  - a1
                  - b1
            merge-old-head: true
            base-tag: 'BETA_{major_version}_BASE'
            end-tag: 'BETA_{major_version}_END'
            from-repo: 'https://hg.mozilla.org/comm-central'
            from-branch: 'comm'
            to-repo: 'https://hg.mozilla.org/releases/comm-beta'
            to-branch: 'comm-beta'
        comm-bump-central:
            fetch-version-from: "mail/config/version.txt"
            version-files:
                - filename: "mail/config/version.txt"
                  version-bump: "major"
                  new-suffix: 'a1'
                - filename: "mail/config/version_display.txt"
                  version-bump: "major"
                  new-suffix: 'a1'
            replacements:
                - - suite/config/version.txt
                  - '{old_suite_version}'
                  - '{new_suite_version}'
                - - suite/config/version_display.txt
                  - '{old_suite_version}'
                  - '{new_suite_version}'
            merge-old-head: false
            end-tag: 'NIGHTLY_{major_version}_END'
            to-repo: 'https://hg.mozilla.org/comm-central'
            to-branch: 'comm'

scriptworker:
    scope-prefix: 'project:comm:thunderbird:releng'

partner-urls:
    release-partner-attribution: null
    release-partner-repack: null
    release-eme-free-repack: null

task-priority:
    by-project:
        'comm-esr.*': 'very-high'
        'comm-beta': 'high'
        'comm-central': 'medium'
        'default': 'low'

taskgraph:
    register: comm_taskgraph:register
    decision-parameters: 'comm_taskgraph.decision:get_decision_parameters'

workers:
    aliases:
        b-linux.*:
            provisioner: 'comm-{level}'
            implementation: docker-worker
            os: linux
            worker-type: '{alias}'
        b-win2012:
            provisioner: 'comm-{level}'
            implementation: generic-worker
            os: windows
            worker-type: '{alias}-azure'
        images:
            provisioner: 'comm-{level}'
            implementation: docker-worker
            os: linux
            worker-type: '{alias}'
        images-gcp:
            provisioner: '{trust-domain}-{level}'
            implementation: docker-worker
            os: linux
            worker-type: '{alias}'
        balrog:
            provisioner: scriptworker-k8s
            implementation: balrog
            os: scriptworker
            worker-type:
                by-release-level:
                    production: comm-3-balrog
                    staging: comm-1-balrog
        bouncer:
            provisioner: scriptworker-k8s
            # Note that this implementation doesn't correspond with a
            # payload_builder, there are several `bouncer-*` implementations.
            implementation: bouncer
            os: scriptworker
            worker-type:
                by-release-level:
                    production: comm-3-bouncer
                    staging: comm-1-bouncer
        beetmover:
            provisioner: scriptworker-k8s
            implementation: beetmover
            os: scriptworker
            worker-type:
                by-release-level:
                    production: comm-3-beetmover
                    staging: comm-1-beetmover
        linux-depsigning:
            provisioner: scriptworker-k8s
            implementation: scriptworker-signing
            os: linux
            worker-type: comm-t-signing
        linux-signing:
            provisioner: scriptworker-k8s
            implementation: scriptworker-signing
            os: linux
            worker-type:
                by-release-level:
                    production: comm-3-signing
                    staging: comm-t-signing
        mac-depsigning:
            provisioner: scriptworker-prov-v1
            implementation: scriptworker-signing
            os: macosx
            worker-type: tb-depsigning-mac-v1
        mac-signing:
            provisioner: scriptworker-prov-v1
            implementation: scriptworker-signing
            os: macosx
            worker-type:
                by-release-level:
                    production: tb-signing-mac-v1
                    staging: tb-depsigning-mac-v1
        tree:
            provisioner: scriptworker-k8s
            implementation: treescript
            os: scriptworker
            worker-type:
                by-release-level:
                    production: comm-3-tree
                    staging: comm-1-tree
        t-linux(-large|-xlarge|-xlarge-source):
            provisioner: comm-t
            implementation: docker-worker
            os: linux
            worker-type: '{alias}-gcp'
        t-osx-1015-r8:
            provisioner: releng-hardware
            implementation: generic-worker
            os: macosx
            worker-type: 'gecko-{alias}'
        t-osx-1100-m1:
            provisioner: releng-hardware
            implementation: generic-worker
            os: macosx
            worker-type: 'gecko-{alias}'
        win11-64-2009:
            provisioner: comm-t
            implementation: generic-worker
            os: windows
            worker-type: '{alias}'
        succeed:
            provisioner: built-in
            implementation: succeed
            os: none
            worker-type: succeed
        misc:
            provisioner: comm-t
            implementation: docker-worker
            os: linux
            worker-type: misc-gcp

mac-notarization:
    mac-entitlements:
        by-platform:
            macosx64.*:
                by-release-level:
                    production: comm/build/macosx/hardenedruntime/production.entitlements.xml
                    default: comm/build/macosx/hardenedruntime/developer.entitlements.xml
            default: ''
    mac-requirements:
        by-platform:
            macosx64.*: build/package/mac_osx/requirements.plist
            default: ''

expiration-policy:
    by-project:
        try-comm-central:
            default: 1 month
            shortest: 7 days
            short: 14 days
            medium: 1 month
            long: 1 month
        ash:
            default: 1 month
            shortest: 7 days
            short: 1 month
            medium: 1 month
            long: 1 month
        default:
            default: 3 months
            shortest: 7 days
            short: 1 month
            medium: 1 year
            long: 1 year