Bug 1864841 - Change TC index for Snap upstream builds r=taskgraph-reviewers,jcristau
[gecko.git] / taskcluster / ci / snap-upstream-build / kind.yml
blob1778b719d9450d0e7d668f6bd9b89b771487b426
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 ---
5 loader: gecko_taskgraph.loader.transform:loader
7 kind-dependencies:
8     - toolchain
9     - fetch
11 transforms:
12     - gecko_taskgraph.transforms.job:transforms
13     - gecko_taskgraph.transforms.task:transforms
15 job-defaults:
16     attributes:
17         cron: true
18     treeherder:
19         kind: build
20         tier: 2
21         symbol: B
22     worker-type: b-linux-gcp
23     run:
24         checkout: true
25     worker:
26         artifacts:
27             - name: public/build
28               type: directory
29               path: /builds/worker/artifacts/
30         docker-image: {in-tree: snap-build-core22}
31         max-run-time: 900
32         env:
33             MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
35 jobs:
36     amd64-nightly/opt:
37         description: Build Firefox Nightly as a Snap using upstream definition
38         attributes:
39             build_platform: linux64-snap-upstream-nightly
40             build_type: opt
41         index:
42             product: firefox
43             job-name: amd64-nightly
44             type: generic
45         worker:
46             max-run-time: 9000
47         run:
48             using: run-task
49             command: >-
50               ./run.sh nightly
51         treeherder:
52             platform: linux64-snap-amd64-nightly/opt
54     amd64-nightly/debug:
55         description: Build Firefox Nightly (debug) as a Snap using upstream definition
56         attributes:
57             build_platform: linux64-snap-upstream-nightly
58             build_type: debug
59         index:
60             product: firefox
61             job-name: amd64-nightly-debug
62             type: generic
63         worker:
64             max-run-time: 7200
65         run:
66             using: run-task
67             command: >-
68               ./run.sh nightly 1
69         treeherder:
70             platform: linux64-snap-amd64-nightly/debug
72     amd64-beta/opt:
73         description: Build Firefox Beta as a Snap using upstream definition
74         attributes:
75             build_platform: linux64-snap-upstream-beta
76             build_type: opt
77         index:
78             product: firefox
79             job-name: amd64-beta
80             type: generic
81         worker:
82             max-run-time: 9000
83         run:
84             using: run-task
85             command: >-
86               ./run.sh beta
87         treeherder:
88             platform: linux64-snap-amd64-beta/opt
90     amd64-beta/debug:
91         description: Build Firefox Beta (debug) as a Snap using upstream definition
92         attributes:
93             build_platform: linux64-snap-upstream-beta
94             build_type: debug
95         index:
96             product: firefox
97             job-name: amd64-beta-debug
98             type: generic
99         worker:
100             max-run-time: 7200
101         run:
102             using: run-task
103             command: >-
104               ./run.sh beta 1
105         treeherder:
106             platform: linux64-snap-amd64-beta/debug
108     amd64-stable/opt:
109         description: Build Firefox Stable as a Snap using upstream definition
110         attributes:
111             build_platform: linux64-snap-upstream-stable
112             build_type: opt
113         index:
114             product: firefox
115             job-name: amd64-stable
116             type: generic
117         worker:
118             max-run-time: 9000
119         run:
120             using: run-task
121             command: >-
122               ./run.sh stable
123         treeherder:
124             platform: linux64-snap-amd64-stable/opt
126     amd64-stable/debug:
127         description: Build Firefox Stable (debug) as a Snap using upstream definition
128         attributes:
129             build_platform: linux64-snap-upstream-stable
130             build_type: debug
131         index:
132             product: firefox
133             job-name: amd64-stable-debug
134             type: generic
135         worker:
136             max-run-time: 7200
137         run:
138             using: run-task
139             command: >-
140               ./run.sh stable 1
141         treeherder:
142             platform: linux64-snap-amd64-stable/debug
144     amd64-esr/opt:
145         description: Build Firefox ESR as a Snap using upstream definition
146         attributes:
147             build_platform: linux64-snap-upstream-esr
148             build_type: opt
149         index:
150             product: firefox
151             job-name: amd64-esr
152             type: generic
153         worker:
154             max-run-time: 9000
155         run:
156             using: run-task
157             command: >-
158               ./run.sh esr
159         treeherder:
160             platform: linux64-snap-amd64-esr/opt
162     amd64-esr/debug:
163         description: Build Firefox ESR (debug) as a Snap using upstream definition
164         attributes:
165             build_platform: linux64-snap-upstream-esr
166             build_type: debug
167         index:
168             product: firefox
169             job-name: amd64-esr-debug
170             type: generic
171         worker:
172             max-run-time: 7200
173         run:
174             using: run-task
175             command: >-
176               ./run.sh esr 1
177         treeherder:
178             platform: linux64-snap-amd64-esr/debug
180     amd64-try/opt:
181         description: Build Firefox Nightly as a Snap using upstream definition and try repo
182         attributes:
183             build_platform: linux64-snap-upstream-try
184             build_type: opt
185         index:
186             product: firefox
187             job-name: amd64-try
188             type: generic
189         worker:
190             max-run-time: 9000
191         run:
192             using: run-task
193             command: >-
194               ./run.sh try
195         treeherder:
196             platform: linux64-snap-amd64-try/opt
198     amd64-try/debug:
199         description: Build Firefox Nightly (debug) as a Snap using upstream definition and try repo
200         attributes:
201             build_platform: linux64-snap-upstream-try
202             build_type: debug
203         index:
204             product: firefox
205             job-name: amd64-try-debug
206             type: generic
207         worker:
208             max-run-time: 7200
209         run:
210             using: run-task
211             command: >-
212               ./run.sh try 1
213         treeherder:
214             platform: linux64-snap-amd64-try/debug