Bug 1771374 - Use {bool, T} instead of Maybe<T> for now. r=gfx-reviewers,lsalzman
[gecko.git] / .cron.yml
blob33e1af2c4f1d4cdbcc8d9510aef8606d6f7e98a1
1 # Definitions for jobs that run periodically.  For details on the format, see
2 # `https://hg.mozilla.org/ci/ci-admin/file/default/build-decision/src/build_decision/cron/schema.yml`.
3 # For documentation, see `taskcluster/docs/cron.rst`.
4 ---
6 jobs:
7     - name: daily-releases
8       job:
9           type: decision-task
10           treeherder-symbol: RPd
11           target-tasks-method: daily_releases
12       run-on-projects:
13           - mozilla-beta
14       when:
15           by-project:
16               # No default
17               mozilla-beta:
18                   - {weekday: 'Sunday', hour: 21, minute: 0}
19                   - {weekday: 'Tuesday', hour: 21, minute: 0}
20                   - {weekday: 'Thursday', hour: 21, minute: 0}
22     - name: nightly-desktop
23       job:
24           type: decision-task
25           treeherder-symbol: Nd
26           target-tasks-method: nightly_desktop
27           include-push-tasks: true
28       run-on-projects:
29           - mozilla-central
30       when:
31           by-project:
32               # `l10n-bumper` job should have enough time to finish before this
33               # job runs
34               mozilla-central: [{hour: 10, minute: 0}, {hour: 22, minute: 0}]
35               # No default
37     - name: nightly-desktop-linux
38       job:
39           type: decision-task
40           treeherder-symbol: Nd-Ln
41           target-tasks-method: nightly_linux
42           include-push-tasks: true
43       run-on-projects:
44           - mozilla-central
45       when: []  # never (hook only)
47     - name: nightly-desktop-osx
48       job:
49           type: decision-task
50           treeherder-symbol: Nd-OSX
51           target-tasks-method: nightly_macosx
52           include-push-tasks: true
53       run-on-projects:
54           - mozilla-central
55       when: []  # never (hook only)
57     - name: nightly-desktop-win32
58       job:
59           type: decision-task
60           treeherder-symbol: Nd-win32
61           target-tasks-method: nightly_win32
62           include-push-tasks: true
63       run-on-projects:
64           - mozilla-central
65       when: []  # never (hook only)
67     - name: nightly-desktop-win64
68       job:
69           type: decision-task
70           treeherder-symbol: Nd-win64
71           target-tasks-method: nightly_win64
72           include-push-tasks: true
73       run-on-projects:
74           - mozilla-central
75       when: []  # never (hook only)
77     - name: nightly-desktop-win64-aarch64
78       job:
79           type: decision-task
80           treeherder-symbol: Nd-win64-aarch64
81           target-tasks-method: nightly_win64_aarch64
82           include-push-tasks: true
83       run-on-projects:
84           - mozilla-central
85       when: []  # never (hook only)
87     - name: ship-geckoview
88       job:
89           type: decision-task
90           treeherder-symbol: ship_geckoview
91           target-tasks-method: ship_geckoview
92           include-push-tasks: true
93       run-on-projects:
94           - mozilla-central
95       when:
96           by-project:
97               mozilla-central: [{hour: 10, minute: 0}]
99     - name: general-perf-testing
100       job:
101           type: decision-task
102           treeherder-symbol: gpt
103           target-tasks-method: general_perf_testing
104           include-push-tasks: true
105       run-on-projects:
106           - mozilla-central
107       when:
108           - {weekday: 'Monday', hour: 10, minute: 30}
109           - {weekday: 'Wednesday', hour: 10, minute: 30}
110           - {weekday: 'Friday', hour: 10, minute: 30}
112     # For more context on this job, see:
113     # https://github.com/mozsearch/mozsearch-mozilla#how-searchfoxorg-stays-up-to-date
114     # Note that searchfox now runs on-push for mozilla-central, but continues
115     # to use cron jobs for all other branches
116     - name: searchfox-index
117       job:
118           type: decision-task
119           treeherder-symbol: Searchfox
120           target-tasks-method: searchfox_index
121       run-on-projects:
122           - mozilla-beta
123           - mozilla-release
124           - mozilla-esr91
125           - mozilla-esr102
126           - elm
127       # For all non m-c jobs we just run once daily matching the 10 UTC
128       # nightly which is designed to align with searchfox's AWS cron
129       # jobs (for legacy reasons) rather than trying to align with
130       # specific builds.  (Ex: mozilla-beta has a "daily-releases" job
131       # that currently runs 3 times a week.)
132       #
133       # Note that for branches that don't change a lot this will result
134       # in a redundant job being scheduled each day rather than reusing
135       # the previous day's job.  This is only beneficial in the sense
136       # that there's no risk of expiration for artifacts and is a
137       # trade-off to avoid stale indices.  Bug 1686981 tracks fixing
138       # this.
139       when:
140           - {hour: 10, minute: 0}
142     - name: linux64-clang-trunk-perf
143       job:
144           type: decision-task
145           treeherder-symbol: linux64-clang-trunk-perf
146           target-tasks-method: linux64_clang_trunk_perf
147       run-on-projects:
148           - mozilla-central
149       when:
150           - {hour: 2, minute: 0}
152     - name: updatebot-cron-job
153       job:
154           type: decision-task
155           treeherder-symbol: updatebot
156           target-tasks-method: updatebot_cron
157       run-on-projects:
158           - mozilla-central
159       when:
160           - {hour: 0, minute: 0}
161           - {hour: 6, minute: 0}
162           - {hour: 12, minute: 0}
163           - {hour: 18, minute: 0}
165     - name: customv8-update
166       job:
167           type: decision-task
168           treeherder-symbol: customv8
169           target-tasks-method: customv8_update
170           optimize-target-tasks: false
171       run-on-projects:
172           - mozilla-central
173       when:
174           by-project:
175               mozilla-central: [{hour: 10, minute: 30}]
177     - name: chromium-update
178       job:
179           type: decision-task
180           treeherder-symbol: Chromium
181           target-tasks-method: chromium_update
182           optimize-target-tasks: false
183       run-on-projects:
184           - mozilla-central
185       when:
186           by-project:
187               mozilla-central: [{hour: 10, minute: 30}]
189     - name: bouncer-check
190       job:
191           type: decision-task
192           treeherder-symbol: Rel
193           target-tasks-method: cron_bouncer_check
194       run-on-projects:
195           - mozilla-central
196           - mozilla-beta
197           - mozilla-release
198           - mozilla-esr91
199           - mozilla-esr102
200       when:
201           by-project:
202               # No default branch
203               mozilla-central:
204                   - {hour: 7, minute: 0}
205                   - {hour: 19, minute: 0}
206               mozilla-beta:
207                   - {hour: 7, minute: 0}
208                   - {hour: 19, minute: 0}
209               mozilla-release:
210                   - {hour: 7, minute: 0}
211                   - {hour: 19, minute: 0}
212               mozilla-esr91:
213                   - {hour: 7, minute: 0}
214                   - {hour: 19, minute: 0}
215               mozilla-esr102:
216                   - {hour: 7, minute: 0}
217                   - {hour: 19, minute: 0}
219     - name: periodic-update
220       job:
221           type: decision-task
222           treeherder-symbol: Nfile
223           target-tasks-method: file_update
224       run-on-projects:
225           - mozilla-central
226           - mozilla-beta
227           - mozilla-release
228           - mozilla-esr91
229           - mozilla-esr102
230       when:
231           - {weekday: 'Monday', hour: 8, minute: 0}
232           - {weekday: 'Thursday', hour: 8, minute: 0}
234     - name: raptor-tp6m
235       job:
236           type: decision-task
237           treeherder-symbol: tp6m
238           target-tasks-method: raptor_tp6m
239           include-push-tasks: true
240       run-on-projects:
241           - mozilla-central
242       when:
243           - {weekday: 'Monday', hour: 3, minute: 0}
244           - {weekday: 'Tuesday', hour: 3, minute: 0}
245           - {weekday: 'Wednesday', hour: 3, minute: 0}
246           - {weekday: 'Thursday', hour: 3, minute: 0}
247           - {weekday: 'Friday', hour: 3, minute: 0}
248           - {weekday: 'Saturday', hour: 3, minute: 0}
249           - {weekday: 'Sunday', hour: 3, minute: 0}
251     - name: backfill-all-browsertime
252       job:
253           type: decision-task
254           treeherder-symbol: baB
255           target-tasks-method: backfill_all_browsertime
256           include-push-tasks: true
257       run-on-projects:
258           - autoland
259       when:
260           - {hour: 5, minute: 0}
262     - name: condprof
263       job:
264           type: decision-task
265           treeherder-symbol: condprof
266           target-tasks-method: condprof
267           include-push-tasks: true
268           optimize-target-tasks: false
269       run-on-projects:
270           - mozilla-central
271       when:
272           - {hour: 16, minute: 00}
274     - name: l10n-bumper
275       job:
276           type: decision-task
277           treeherder-symbol: l10n-bump
278           target-tasks-method: l10n_bump
279       run-on-projects:
280           - mozilla-central
281           - mozilla-beta
282       when:
283           by-project:
284               # 3h15m before launch of `nightly-desktop`
285               mozilla-central: [{hour: 6, minute: 45}, {hour: 18, minute: 45}]
286               # 3h15m before launch of `daily-releases`
287               mozilla-beta: [{hour: 18, minute: 45}]
288               # No default
290     - name: system-symbols
291       job:
292           type: decision-task
293           treeherder-symbol: system-symbols
294           target-tasks-method: system_symbols
295       run-on-projects:
296           - mozilla-central
297       when:
298           - {hour: 0, minute: 0}
300     - name: perftest
301       job:
302           type: decision-task
303           treeherder-symbol: perftest
304           target-tasks-method: perftest
305       run-on-projects:
306           - mozilla-central
307       when:
308           - {hour: 4, minute: 00}
310     - name: perftest-on-autoland
311       job:
312           type: decision-task
313           treeherder-symbol: perftest-auto
314           target-tasks-method: perftest-on-autoland
315       run-on-projects:
316           - autoland
317       when:
318           - {hour: 4, minute: 00}
320     - name: scriptworker-canary
321       job:
322           type: trigger-action
323           action-name: scriptworker-canary
324           include-cron-input: true
325       when: []  # never (hook only)
327     - name: l10n-cross-channel
328       job:
329           type: decision-task
330           treeherder-symbol: l10n-cross-channel
331           target-tasks-method: l10n-cross-channel
332       run-on-projects:
333           - mozilla-central
334       when:
335           by-project:
336               mozilla-central: [{hour: 11, minute: 0}, {hour: 23, minute: 0}]
337               default: []
339     - name: are-we-esmified-yet
340       job:
341           type: decision-task
342           treeherder-symbol: are-we-esmified-yet
343           target-tasks-method: are-we-esmified-yet
344       run-on-projects:
345           - mozilla-central
346       when:
347           - {hour: 0, minute: 00}