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

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

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

jobs:
    repackage-shippable-l10n-msix:
        from-deps:
            group-by: platform
            unique-kinds: false
        worker-type: b-linux-gcp
        worker:
            max-run-time: 2700
        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:
            vendor: Mozilla
            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-build-platform:
                                    .*-shippable: "CN=Mozilla Corporation, OU=Firefox Engineering Operations, O=Mozilla Corporation, L=Mountain View, S=California, C=US"
                                    .*-devedition: "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"