summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/repackage-shippable-l10n-msix/kind.yml
blob: 304b0e9d2fa1ae25feecd2ef53bf2f06d6ed84fe (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
# 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.name_sanity:transforms
    - gecko_taskgraph.transforms.repackage:transforms
    - comm_taskgraph.transforms.repackage_msix:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

kind-dependencies:
    # We're going to generate tasks based on this.  We `depend` on and fetch the package from this.
    - build-signing
    # We're not going to generate tasks based on these.  But we are going to `depend` on and fetch
    # langpacks from these.
    - shippable-l10n
    - toolchain

not-for-kind-dependencies:
    - shippable-l10n

group-by: platform

only-for-build-platforms:
    - win32-shippable/opt
    - win64-shippable/opt

job-template:
    worker-type: b-linux-gcp
    worker:
        max-run-time: 2700
    mozharness:
        comm-checkout: true
        config-paths:
            - comm/testing/mozharness/configs
        config:
            by-build-platform:
                win32\b.*:
                    - repackage/base.py
                    - repackage/tb_win32_sfx_stub.py
                    - repackage/win32_signed.py
                win64\b.*:
                    - repackage/base.py
                    - repackage/tb_win32_sfx_stub.py
                    - repackage/win64_signed.py
    package-formats: [msix, msix-store]
    fetches:
        toolchain:
            - linux64-msix-packaging
    msix:
        vendor: Mozilla Thunderbird
        channel:
            by-release-type:
                beta.*: beta
                release.*: official
                default: nightly
        identity-name:
            by-package-format:
                msix:
                    by-release-type:
                        beta.*: MozillaThunderbirdBeta
                        release.*: MozillaThunderbird
                        default: MozillaThunderbirdDaily
                msix-store:
                    by-release-type:
                        beta.*: ThunderbirdBeta
                        release.*: MZLA
                        default: ThunderbirdDaily
        publisher:
            by-package-format:
                msix:
                    by-level:
                        "1": "CN=Mozilla Fake SPC"
                        "2": "CN=Mozilla Fake SPC"
                        default:
                            # This value needs to line up with the signing certificate
                            # we're going to sign with. We only sign potential release
                            # or nightly builds with proper certificates, so even on
                            # level 3 repositories, some build types are expected to
                            # be signed with our fake certificate.
                            by-build-platform:
                                .*-shippable: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                default: "CN=Mozilla Fake SPC"
                msix-store: "CN=D72CA2AC-1021-4C81-8ED2-0CF10CF5F5B6"
        publisher-display-name:
            by-package-format:
                msix: "MZLA Technologies"
                msix-store: "Mozilla Thunderbird"