Skip to content

Commit

Permalink
Bug 1649013 - Stop failing mark-as-shipped tasks (mozilla-mobile#13257)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo authored and pocmo committed Aug 10, 2020
1 parent 6fe48bc commit 0a8fc8f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions taskcluster/fenix_taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ def target_tasks_default(full_task_graph, parameters, graph_config):

# TODO Use shipping-phase once we retire github-releases
def filter(task, parameters):
# Mark-as-shipped is always red on github-release and it confuses people.
# This task cannot be green if we kick off a release through github-releases, so
# let's exlude that task there.
if task.kind == "mark-as-shipped" and parameters["tasks_for"] == "github-release":
return False

return task.attributes.get("release-type", "") == parameters["release_type"]

return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
Expand Down

0 comments on commit 0a8fc8f

Please sign in to comment.