Skip to content

Commit

Permalink
Bug 1899403: remove android tasks from cypress r=releng-reviewers,tas…
Browse files Browse the repository at this point in the history
…kgraph-reviewers,jcristau

Differential Revision: https://phabricator.services.mozilla.com/D212006
  • Loading branch information
bhearsum committed May 30, 2024
1 parent 38b2f9b commit 690b6a7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions taskcluster/gecko_taskgraph/decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
"target_tasks_method": "pine_tasks",
"release_type": "nightly-pine",
},
"cypress": {
"target_tasks_method": "cypress_tasks",
},
"larch": {
"target_tasks_method": "larch_tasks",
"release_type": "nightly-larch",
Expand Down
15 changes: 15 additions & 0 deletions taskcluster/gecko_taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,21 @@ def filter(task):
return [l for l, t in full_task_graph.tasks.items() if filter(t)]


@register_target_task("cypress_tasks")
def target_tasks_cypress(full_task_graph, parameters, graph_config):
filtered_for_project = target_tasks_default(
full_task_graph, parameters, graph_config
)

def filter(task):
# bug 1899403: no need for android tasks
if "android" in task.attributes.get("build_platform", ""):
return False
return True

return [l for l in filtered_for_project if filter(full_task_graph[l])]


@register_target_task("pine_tasks")
def target_tasks_pine(full_task_graph, parameters, graph_config):
"""Bug 1879960 - no reftests or wpt needed"""
Expand Down

0 comments on commit 690b6a7

Please sign in to comment.