Bug 1597110 - define in-tree cron job for scheduling action tasks for starting an automatic release. r=mtabara,rail

Differential Revision: https://phabricator.services.mozilla.com/D54370
This commit is contained in:
Justin Wood
2019-11-29 15:10:42 +00:00
parent ccf74ba5ae
commit 6c776d0960
2 changed files with 27 additions and 0 deletions

View File

@@ -630,6 +630,18 @@ def target_tasks_nightly_asan(full_task_graph, parameters, graph_config):
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
@_target_task('daily_releases')
def target_tasks_daily_releases(full_task_graph, parameters, graph_config):
"""Select the set of tasks required to identify if we should release.
If we determine that we should the task will communicate to ship-it to
schedule the release itself."""
def filter(task):
return task.kind in ['maybe-release']
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
@_target_task('nightly_desktop')
def target_tasks_nightly_desktop(full_task_graph, parameters, graph_config):
"""Select the set of tasks required for a nightly build of linux, mac,