aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.taskcluster.yml4
-rw-r--r--etc/taskcluster/decision_task.py6
2 files changed, 10 insertions, 0 deletions
diff --git a/.taskcluster.yml b/.taskcluster.yml
index 2629526ea64..b2c277f6f09 100644
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -1,4 +1,8 @@
version: 1
+
+# If and when switching to `reporting: checks-v1` here, also change the `statuses` route to `checks`
+# in `CONFIG.routes_for_all_subtasks` in `etc/taskcluster/decision_task.py`
+
policy:
# https://docs.taskcluster.net/docs/reference/integrations/taskcluster-github/docs/taskcluster-yml-v1#pull-requests
pullRequests: public
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py
index 0244f955bfe..ecfa82507f9 100644
--- a/etc/taskcluster/decision_task.py
+++ b/etc/taskcluster/decision_task.py
@@ -21,6 +21,12 @@ def tasks(task_for):
branch if not branch.startswith("try-") else "try"
)
+ # Work around a tc-github bug/limitation:
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1548781#c4
+ if task_for.startswith("github"):
+ # https://github.com/taskcluster/taskcluster/blob/21f257dc8/services/github/config.yml#L14
+ CONFIG.routes_for_all_subtasks.append("statuses")
+
# The magicleap build is broken until there's a surfman back end
magicleap_dev = lambda: None
magicleap_nightly = lambda: None