summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/repackage-shippable-l10n-msix/kind.yml
blob: 4caed29b9875c81ff99e59d4ec217062f62779ca (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
# 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
    - 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-signing
    - toolchain

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

group-by: platform

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

job-template:
    worker-type: b-linux-gcp
    mozharness:
        config:
            by-build-platform:
                win32\b.*:
                    - repackage/base.py
                    - repackage/win32_sfx_stub.py
                    - repackage/win32_signed.py
                win64(?!-aarch64)\b.*:
                    - repackage/base.py
                    - repackage/win32_sfx_stub.py
                    - repackage/win64_signed.py
                win64-aarch64\b.*:
                    - repackage/base.py
                    - repackage/win64-aarch64_sfx_stub.py
                    - repackage/win64_signed.py
    package-formats: [msix, msix-store]
    fetches:
        toolchain:
            - linux64-msix-packaging
    msix:
        channel:
            by-shipping-product:
                devedition: aurora
                default:
                    by-release-type:
                        beta.*: beta
                        release.*: official
                        esr.*: official
                        default: nightly
        identity-name:
            by-shipping-product:
                devedition:
                    by-package-format:
                        msix: MozillaFirefoxDevedition
                        msix-store: FirefoxDevedition
                default:
                    by-package-format:
                        msix:
                            by-release-type:
                                beta.*: MozillaFirefoxBeta
                                release.*: MozillaFirefox
                                esr.*: MozillaFirefox
                                default: MozillaFirefoxNightly
                        msix-store:
                            by-release-type:
                                beta.*: FirefoxBeta
                                release.*: Firefox
                                esr.*: Firefox
                                default: FirefoxNightly
        publisher:
            by-package-format:
                msix-store: "CN=082E9164-EE6C-4EC8-B62C-441FAE7BEFA1"
                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-release-type:
                                release-rc: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                release: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                beta: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                esr.*: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                nightly: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                default: "CN=Mozilla Fake SPC"
        publisher-display-name:
            by-package-format:
                msix: "Mozilla Corporation"
                msix-store: "Mozilla"