Bug 1771374 - Fix lint warnings. r=gfx-reviewers,aosmond
[gecko.git] / .cron.yml
blob9d6dcf50cc00439cea5aeb639ac37cfbf91db9bf
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       when:
200           by-project:
201               # No default branch
202               mozilla-central:
203                   - {hour: 7, minute: 0}
204                   - {hour: 19, minute: 0}
205               mozilla-beta:
206                   - {hour: 7, minute: 0}
207                   - {hour: 19, minute: 0}
208               mozilla-release:
209                   - {hour: 7, minute: 0}
210                   - {hour: 19, minute: 0}
211               mozilla-esr91:
212                   - {hour: 7, minute: 0}
213                   - {hour: 19, minute: 0}
215     - name: periodic-update
216       job:
217           type: decision-task
218           treeherder-symbol: Nfile
219           target-tasks-method: file_update
220       run-on-projects:
221           - mozilla-central
222           - mozilla-beta
223           - mozilla-release
224           - mozilla-esr91
225           - mozilla-esr102
226       when:
227           - {weekday: 'Monday', hour: 8, minute: 0}
228           - {weekday: 'Thursday', hour: 8, minute: 0}
230     - name: raptor-tp6m
231       job:
232           type: decision-task
233           treeherder-symbol: tp6m
234           target-tasks-method: raptor_tp6m
235           include-push-tasks: true
236       run-on-projects:
237           - mozilla-central
238       when:
239           - {weekday: 'Monday', hour: 3, minute: 0}
240           - {weekday: 'Tuesday', hour: 3, minute: 0}
241           - {weekday: 'Wednesday', hour: 3, minute: 0}
242           - {weekday: 'Thursday', hour: 3, minute: 0}
243           - {weekday: 'Friday', hour: 3, minute: 0}
244           - {weekday: 'Saturday', hour: 3, minute: 0}
245           - {weekday: 'Sunday', hour: 3, minute: 0}
247     - name: backfill-all-browsertime
248       job:
249           type: decision-task
250           treeherder-symbol: baB
251           target-tasks-method: backfill_all_browsertime
252           include-push-tasks: true
253       run-on-projects:
254           - autoland
255       when:
256           - {hour: 5, minute: 0}
258     - name: condprof
259       job:
260           type: decision-task
261           treeherder-symbol: condprof
262           target-tasks-method: condprof
263           include-push-tasks: true
264           optimize-target-tasks: false
265       run-on-projects:
266           - mozilla-central
267       when:
268           - {hour: 16, minute: 00}
270     - name: l10n-bumper
271       job:
272           type: decision-task
273           treeherder-symbol: l10n-bump
274           target-tasks-method: l10n_bump
275       run-on-projects:
276           - mozilla-central
277           - mozilla-beta
278       when:
279           by-project:
280               # 3h15m before launch of `nightly-desktop`
281               mozilla-central: [{hour: 6, minute: 45}, {hour: 18, minute: 45}]
282               # 3h15m before launch of `daily-releases`
283               mozilla-beta: [{hour: 18, minute: 45}]
284               # No default
286     - name: system-symbols
287       job:
288           type: decision-task
289           treeherder-symbol: system-symbols
290           target-tasks-method: system_symbols
291       run-on-projects:
292           - mozilla-central
293       when:
294           - {hour: 0, minute: 0}
296     - name: perftest
297       job:
298           type: decision-task
299           treeherder-symbol: perftest
300           target-tasks-method: perftest
301       run-on-projects:
302           - mozilla-central
303       when:
304           - {hour: 4, minute: 00}
306     - name: perftest-on-autoland
307       job:
308           type: decision-task
309           treeherder-symbol: perftest-auto
310           target-tasks-method: perftest-on-autoland
311       run-on-projects:
312           - autoland
313       when:
314           - {hour: 4, minute: 00}
316     - name: scriptworker-canary
317       job:
318           type: trigger-action
319           action-name: scriptworker-canary
320           include-cron-input: true
321       when: []  # never (hook only)
323     - name: l10n-cross-channel
324       job:
325           type: decision-task
326           treeherder-symbol: l10n-cross-channel
327           target-tasks-method: l10n-cross-channel
328       run-on-projects:
329           - mozilla-central
330       when:
331           by-project:
332               mozilla-central: [{hour: 11, minute: 0}, {hour: 23, minute: 0}]
333               default: []