|
|
@ -33,7 +33,8 @@ def target_tasks_nightly(full_task_graph, parameters, graph_config):
|
|
|
|
def filter(task, parameters):
|
|
|
|
def filter(task, parameters):
|
|
|
|
# We don't want to ship nightly while Google Play is still behind manual review.
|
|
|
|
# We don't want to ship nightly while Google Play is still behind manual review.
|
|
|
|
# See bug 1628413 for more context.
|
|
|
|
# See bug 1628413 for more context.
|
|
|
|
return task.attributes.get("nightly", False) and task.kind != "push-apk"
|
|
|
|
return task.attributes.get("nightly", False) and task.kind != "push-apk" or \
|
|
|
|
|
|
|
|
task.kind in ('browsertime', 'visual-metrics', 'raptor')
|
|
|
|
|
|
|
|
|
|
|
|
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
|
|
|
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
|
|
|
|
|
|
|
|
|
|
@ -59,22 +60,6 @@ def target_tasks_fennec_nightly(full_task_graph, parameters, graph_config):
|
|
|
|
return [l for l, t in full_task_graph.tasks.iteritems() if _filter_fennec("beta", t, parameters)]
|
|
|
|
return [l for l, t in full_task_graph.tasks.iteritems() if _filter_fennec("beta", t, parameters)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@_target_task('raptor')
|
|
|
|
|
|
|
|
def target_tasks_raptor(full_task_graph, parameters, graph_config):
|
|
|
|
|
|
|
|
def filter(task, parameters):
|
|
|
|
|
|
|
|
return task.kind == 'raptor'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@_target_task('browsertime')
|
|
|
|
|
|
|
|
def target_tasks_raptor(full_task_graph, parameters, graph_config):
|
|
|
|
|
|
|
|
def filter(task, parameters):
|
|
|
|
|
|
|
|
return task.kind in ('browsertime', 'visual-metrics')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@_target_task("bump_android_components")
|
|
|
|
@_target_task("bump_android_components")
|
|
|
|
def target_tasks_bump_android_components(full_task_graph, parameters, graph_config):
|
|
|
|
def target_tasks_bump_android_components(full_task_graph, parameters, graph_config):
|
|
|
|
"""Select the set of tasks required to update android components."""
|
|
|
|
"""Select the set of tasks required to update android components."""
|
|
|
|