Bug 1724258 - remove method to target mochitest valgrind tasks for scheduling. r=jmaher

The tasks haven't been scheduled anymore since bug 1538560 landed 2 years ago.

Differential Revision: https://phabricator.services.mozilla.com/D121897
This commit is contained in:
Sebastian Hengst
2021-08-05 17:27:39 +00:00
parent 5bd96bbb60
commit 492b18bcec

View File

@@ -507,24 +507,6 @@ def target_tasks_graphics(full_task_graph, parameters, graph_config):
return [l for l in filtered_for_project if filter(full_task_graph[l])]
@_target_task("mochitest_valgrind")
def target_tasks_valgrind(full_task_graph, parameters, graph_config):
"""Target tasks for mochitest valgrind jobs."""
def filter(task):
platform = task.attributes.get("test_platform", "").split("/")[0]
if platform not in ["linux64"]:
return False
if task.attributes.get("unittest_suite", "").startswith(
"mochitest-valgrind-plain"
):
return True
return False
return [l for l, t in six.iteritems(full_task_graph.tasks) if filter(t)]
@_target_task("mozilla_beta_tasks")
def target_tasks_mozilla_beta(full_task_graph, parameters, graph_config):
"""Select the set of tasks required for a promotable beta or release build