summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/build-bundle/kind.yml
blob: 7db4cfdd81d63e88c50774d457ed1a9174464d09 (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
# 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:
    - android_taskgraph.transforms.build_android_app:transforms
    - gecko_taskgraph.transforms.build_schedules:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

kind-dependencies:
    - toolchain
    - build-fat-aar

job-defaults:
    aab-artifact-template:
        type: file
        name: 'public/build/target.aab'
        path: '/builds/worker/checkouts/gecko/mobile/android/{source_project_name}/app/build/outputs/bundle/{variant_name}/app-{gradle_build}-{gradle_build_type}.aab'
    attributes:
        build_platform: android
    run:
        gradle-package-command: bundle
        gradle-extra-options:
            - -Paab


jobs:
    focus-debug:
        attributes:
            shipping-product: focus
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
        description: 'Focus debug AAB build from source code'
        run:
            gradle-build-type: debug
            gradle-build-name: focusDebug
            gradle-build: focus
        source-project-name: "focus-android"
        treeherder:
            platform: focus-android-all/opt
            symbol: focus-debug(AABf)

    klar-debug:
        attributes:
            shipping-product: focus
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
        description: 'Klar debug AAB build from source code'
        run:
            gradle-build-type: debug
            gradle-build-name: klarDebug
            gradle-build: klar
        source-project-name: "focus-android"
        treeherder:
            platform: focus-android-all/opt
            symbol: focus-debug(AABkl)

    fenix-debug:
        attributes:
            shipping-product: fenix
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
        description: 'Fenix debug AAB build from source code'
        run:
            gradle-build-type: debug
            gradle-build-name: fenixDebug
            gradle-build: fenix
        source-project-name: "fenix"
        treeherder:
            platform: fenix-android-all/opt
            symbol: fenix-debug(AAB)

    focus-release:
        attributes:
            release-type: release
            shipping-product: focus
        shipping-product: firefox-android
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Focus release AAB build from source code'
        include-shippable-secrets: true
        include-release-version: true
        run-on-projects: ["mozilla-release"]
        run:
            gradle-build-type: release
            gradle-build-name: focusRelease
            gradle-build: focus
        shipping-phase: promote
        source-project-name: "focus-android"
        treeherder:
            platform: focus-android-all/opt
            symbol: focus-release(AABf)

    klar-release:
        attributes:
            release-type: release
            shipping-product: focus
        shipping-product: firefox-android
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Klar release AAB build from source code'
        include-shippable-secrets: true
        include-release-version: true
        run-on-projects: ["mozilla-release"]
        run:
            gradle-build-type: release
            gradle-build-name: klarRelease
            gradle-build: klar
        shipping-phase: promote
        source-project-name: "focus-android"
        treeherder:
            platform: focus-android-all/opt
            symbol: focus-release(AABkl)

    fenix-release:
        attributes:
            release-type: release
            shipping-product: fenix
        shipping-product: firefox-android
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Fenix release AAB build from source code'
        include-shippable-secrets: true
        include-release-version: true
        run-on-projects: ["mozilla-release"]
        run:
            gradle-build-type: release
            gradle-build-name: fenixRelease
            gradle-build: fenix
        shipping-phase: promote
        source-project-name: "fenix"
        treeherder:
            platform: fenix-android-all/opt
            symbol: fenix-release(AAB)

    focus-nightly:
        attributes:
            shipping-product: focus
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Focus nightly AAB build from source code'
        include-shippable-secrets: true
        include-nightly-version: true
        run-on-projects: ["mozilla-central"]
        run:
            gradle-build-type: nightly
            gradle-build-name: focusNightly
            gradle-build: focus
        source-project-name: "focus-android"
        treeherder:
            platform: focus-android-all/opt
            symbol: focus-nightly(AABf)

    fenix-nightly:
        attributes:
            shipping-product: fenix
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Fenix nightly AAB build from source code'
        include-shippable-secrets: true
        include-nightly-version: true
        run-on-projects: ["mozilla-central"]
        run:
            gradle-build-type: nightly
            gradle-build-name: fenixNightly
            gradle-build: fenix
        source-project-name: "fenix"
        treeherder:
            platform: fenix-android-all/opt
            symbol: fenix-nightly(AAB)

    focus-beta:
        attributes:
            release-type: beta
            shipping-product: focus
        shipping-product: firefox-android
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Focus beta AAB build from source code'
        include-shippable-secrets: true
        include-release-version: true
        run-on-projects: ["mozilla-beta"]
        run:
            gradle-build-type: beta
            gradle-build-name: focusBeta
            gradle-build: focus
        shipping-phase: promote
        source-project-name: "focus-android"
        treeherder:
            platform: focus-android-all/opt
            symbol: focus-beta(AABf)

    fenix-beta:
        attributes:
            release-type: beta
            shipping-product: fenix
        shipping-product: firefox-android
        dependencies:
            build-fat-aar: build-fat-aar-android-geckoview-fat-aar-shippable/opt
        description: 'Fenix beta AAB build from source code'
        include-shippable-secrets: true
        include-release-version: true
        run-on-projects: ["mozilla-beta"]
        run:
            gradle-build-type: beta
            gradle-build-name: fenixBeta
            gradle-build: fenix
        shipping-phase: promote
        source-project-name: "fenix"
        treeherder:
            platform: fenix-android-all/opt
            symbol: fenix-beta(AAB)