mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Bug 1509027 - Use more restricted scope for Treeherder routes
https://bugzilla.mozilla.org/show_bug.cgi?id=1509027
This commit is contained in:
parent
3c19cd49ec
commit
d4442f0f73
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ from decisionlib import *
|
||||||
def main(task_for, mock=False):
|
def main(task_for, mock=False):
|
||||||
if task_for == "github-push":
|
if task_for == "github-push":
|
||||||
if CONFIG.git_ref in ["refs/heads/auto", "refs/heads/try", "refs/heads/try-taskcluster"]:
|
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()
|
linux_tidy_unit()
|
||||||
android_arm32()
|
android_arm32()
|
||||||
|
|
|
@ -158,7 +158,7 @@ class Task:
|
||||||
|
|
||||||
if CONFIG.treeherder_repo_name:
|
if CONFIG.treeherder_repo_name:
|
||||||
assert CONFIG.git_sha
|
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(
|
self.with_routes(
|
||||||
"tc-treeherder" + suffix,
|
"tc-treeherder" + suffix,
|
||||||
"tc-treeherder-staging" + suffix,
|
"tc-treeherder-staging" + suffix,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue