Bug 1581819 - flip the cron job to build conditioned profiles daily r=dustin

Adds a cron to run the conditioned profiles

Differential Revision: https://phabricator.services.mozilla.com/D46148

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tarek Ziadé 2019-09-17 14:23:55 +00:00
Родитель 8e1bd9128f
Коммит c6736e8bc9
3 изменённых файлов: 24 добавлений и 0 удалений

Просмотреть файл

@ -209,3 +209,13 @@ jobs:
- {weekday: 'Friday', hour: 3, minute: 0}
- {weekday: 'Saturday', hour: 3, minute: 0}
- {weekday: 'Sunday', hour: 3, minute: 0}
- name: condprof
job:
type: decision-task
treeherder-symbol: condprof
target-tasks-method: condprof
run-on-projects:
- mozilla-central
when:
- {hour: 16, minute: 00}

Просмотреть файл

@ -68,6 +68,10 @@ and so is undesirable.
- {weekday: 'Monday', hour: 10, minute: 0}
- {weekday: 'Thursday', hour: 10, minute: 0}
.. note::
Times are expressed in UTC (Coordinated Universal Time)
Decision Tasks
..............

Просмотреть файл

@ -798,3 +798,13 @@ def target_tasks_raptor_tp6m(full_task_graph, parameters, graph_config):
return True
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
@_target_task('condprof')
def target_tasks_condprof(full_task_graph, parameters, graph_config):
"""
Select tasks required for building conditioned profiles.
"""
for name, task in full_task_graph.tasks.iteritems():
if task.kind == "condprof":
yield name