Bug 1760207 [wpt PR 33200] - Add permission test for push api, a=testonly
[gecko.git] / .cron.yml
blob07c22c521c3ffce2b9690f1c4bfe8aa0e2283ca9
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           - elm
126       # For all non m-c jobs we just run once daily matching the 10 UTC
127       # nightly which is designed to align with searchfox's AWS cron
128       # jobs (for legacy reasons) rather than trying to align with
129       # specific builds.  (Ex: mozilla-beta has a "daily-releases" job
130       # that currently runs 3 times a week.)
131       #
132       # Note that for branches that don't change a lot this will result
133       # in a redundant job being scheduled each day rather than reusing
134       # the previous day's job.  This is only beneficial in the sense
135       # that there's no risk of expiration for artifacts and is a
136       # trade-off to avoid stale indices.  Bug 1686981 tracks fixing
137       # this.
138       when:
139           - {hour: 10, minute: 0}
141     - name: linux64-clang-trunk-perf
142       job:
143           type: decision-task
144           treeherder-symbol: linux64-clang-trunk-perf
145           target-tasks-method: linux64_clang_trunk_perf
146       run-on-projects:
147           - mozilla-central
148       when:
149           - {hour: 2, minute: 0}
151     - name: updatebot-cron-job
152       job:
153           type: decision-task
154           treeherder-symbol: updatebot
155           target-tasks-method: updatebot_cron
156       run-on-projects:
157           - mozilla-central
158       when:
159           - {hour: 0, minute: 0}
160           - {hour: 6, minute: 0}
161           - {hour: 12, minute: 0}
162           - {hour: 18, minute: 0}
164     - name: customv8-update
165       job:
166           type: decision-task
167           treeherder-symbol: customv8
168           target-tasks-method: customv8_update
169           optimize-target-tasks: false
170       run-on-projects:
171           - mozilla-central
172       when:
173           by-project:
174               mozilla-central: [{hour: 10, minute: 30}]
176     - name: chromium-update
177       job:
178           type: decision-task
179           treeherder-symbol: Chromium
180           target-tasks-method: chromium_update
181           optimize-target-tasks: false
182       run-on-projects:
183           - mozilla-central
184       when:
185           by-project:
186               mozilla-central: [{hour: 10, minute: 30}]
188     - name: bouncer-check
189       job:
190           type: decision-task
191           treeherder-symbol: Rel
192           target-tasks-method: cron_bouncer_check
193       run-on-projects:
194           - mozilla-central
195           - mozilla-beta
196           - mozilla-release
197           - mozilla-esr91
198       when:
199           by-project:
200               # No default branch
201               mozilla-central:
202                   - {hour: 7, minute: 0}
203                   - {hour: 19, minute: 0}
204               mozilla-beta:
205                   - {hour: 7, minute: 0}
206                   - {hour: 19, minute: 0}
207               mozilla-release:
208                   - {hour: 7, minute: 0}
209                   - {hour: 19, minute: 0}
210               mozilla-esr91:
211                   - {hour: 7, minute: 0}
212                   - {hour: 19, minute: 0}
214     - name: periodic-update
215       job:
216           type: decision-task
217           treeherder-symbol: Nfile
218           target-tasks-method: file_update
219       run-on-projects:
220           - mozilla-central
221           - mozilla-beta
222           - mozilla-release
223           - mozilla-esr91
224       when:
225           - {weekday: 'Monday', hour: 8, minute: 0}
226           - {weekday: 'Thursday', hour: 8, minute: 0}
228     - name: raptor-tp6m
229       job:
230           type: decision-task
231           treeherder-symbol: tp6m
232           target-tasks-method: raptor_tp6m
233           include-push-tasks: true
234       run-on-projects:
235           - mozilla-central
236       when:
237           - {weekday: 'Monday', hour: 3, minute: 0}
238           - {weekday: 'Tuesday', hour: 3, minute: 0}
239           - {weekday: 'Wednesday', hour: 3, minute: 0}
240           - {weekday: 'Thursday', hour: 3, minute: 0}
241           - {weekday: 'Friday', hour: 3, minute: 0}
242           - {weekday: 'Saturday', hour: 3, minute: 0}
243           - {weekday: 'Sunday', hour: 3, minute: 0}
245     - name: perftest-s7
246       job:
247           type: decision-task
248           treeherder-symbol: tp6m
249           target-tasks-method: perftest_s7
250           include-push-tasks: true
251       run-on-projects:
252           - mozilla-central
253       when:
254           - {weekday: 'Saturday', hour: 3, minute: 0}
256     - name: condprof
257       job:
258           type: decision-task
259           treeherder-symbol: condprof
260           target-tasks-method: condprof
261           include-push-tasks: true
262           optimize-target-tasks: false
263       run-on-projects:
264           - mozilla-central
265       when:
266           - {hour: 16, minute: 00}
268     - name: l10n-bumper
269       job:
270           type: decision-task
271           treeherder-symbol: l10n-bump
272           target-tasks-method: l10n_bump
273       run-on-projects:
274           - mozilla-central
275           - mozilla-beta
276       when:
277         by-project:
278             # 3h15m before launch of `nightly-desktop`
279             mozilla-central: [{hour: 6, minute: 45}, {hour: 18, minute: 45}]
280             # 3h15m before launch of `daily-releases`
281             mozilla-beta: [{hour: 18, minute: 45}]
282             # No default
284     - name: system-symbols
285       job:
286           type: decision-task
287           treeherder-symbol: system-symbols
288           target-tasks-method: system_symbols
289       run-on-projects:
290           - mozilla-central
291       when:
292           - {hour: 0, minute: 0}
294     - name: perftest
295       job:
296           type: decision-task
297           treeherder-symbol: perftest
298           target-tasks-method: perftest
299       run-on-projects:
300           - mozilla-central
301       when:
302           - {hour: 4, minute: 00}
304     - name: perftest-on-autoland
305       job:
306           type: decision-task
307           treeherder-symbol: perftest-auto
308           target-tasks-method: perftest-on-autoland
309       run-on-projects:
310           - autoland
311       when:
312           - {hour: 4, minute: 00}
314     - name: scriptworker-canary
315       job:
316           type: trigger-action
317           action-name: scriptworker-canary
318           include-cron-input: true
319       when: []  # never (hook only)
321     - name: l10n-cross-channel
322       job:
323           type: decision-task
324           treeherder-symbol: l10n-cross-channel
325           target-tasks-method: l10n-cross-channel
326       run-on-projects:
327           - mozilla-central
328       when:
329           by-project:
330               mozilla-central: [{hour: 11, minute: 0}, {hour: 23, minute: 0}]
331               default: []