mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #22382 - servo:_, r=SimonSapin
Bug 1509027 - Use more restricted scope for Treeherder routes https://bugzilla.mozilla.org/show_bug.cgi?id=1509027 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22382) <!-- Reviewable:end -->
This commit is contained in:
commit
ea0ad5b408
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ from decisionlib import *
|
|||
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()
|
||||
|
|
|
@ -158,7 +158,7 @@ class Task:
|
|||
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue