Bug 1286075: remove old name for 'default' task set; r?Callek
MozReview-Commit-ID: 3bRvQijMtda
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -55,17 +55,16 @@ def target_tasks_try_option_syntax(full_
for l in target_tasks_labels:
task = full_task_graph[l]
if 'unittest_suite' in task.attributes:
task.attributes['task_duplicates'] = options.trigger_tests
return target_tasks_labels
-@_target_task('all_builds_and_tests') # (old name)
@_target_task('default')
def target_tasks_default(full_task_graph, parameters):
"""Target the tasks which have indicated they should be run on this project
via the `run_on_projects` attributes."""
def filter(task):
run_on_projects = set(t.attributes.get('run_on_projects', []))
if 'all' in run_on_projects:
return True