Skip to content

Commit

Permalink
Bug 1509027 - Use more restricted scope for Treeherder routes
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Dec 8, 2018
1 parent 3c19cd4 commit d4442f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/taskcluster/decision_task.py
Expand Up @@ -11,7 +11,7 @@
def main(task_for, mock=False):
if task_for == "github-push":
if CONFIG.git_ref in ["refs/heads/auto", "refs/heads/try", "refs/heads/try-taskcluster"]:
CONFIG.treeherder_repo_name = "servo/servo-" + CONFIG.git_ref.split("/")[-1]
CONFIG.treeherder_repo_name = "servo-" + CONFIG.git_ref.split("/")[-1]

linux_tidy_unit()
android_arm32()
Expand Down
2 changes: 1 addition & 1 deletion etc/taskcluster/decisionlib.py
Expand Up @@ -158,7 +158,7 @@ def with_treeherder(self, category, symbol=None):

if CONFIG.treeherder_repo_name:
assert CONFIG.git_sha
suffix = ".v2.%s.%s" % (CONFIG.treeherder_repo_name, CONFIG.git_sha)
suffix = ".v2._/%s.%s" % (CONFIG.treeherder_repo_name, CONFIG.git_sha)
self.with_routes(
"tc-treeherder" + suffix,
"tc-treeherder-staging" + suffix,
Expand Down

0 comments on commit d4442f0

Please sign in to comment.