Skip to content
Snippets Groups Projects
Commit b89d332b authored by Tom Prince's avatar Tom Prince
Browse files

No bug: Don't include push-id in treeherder routes; r=aki

Treeherder ignores this.

Differential Revision: https://phabricator.services.mozilla.com/D82251
parent d8143d55
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ tasks:
routes:
$flattenDeep:
- "tc-treeherder.v2.${repository.project}.${push.revision}.${push.pushlog_id}"
- "tc-treeherder.v2.${repository.project}.${push.revision}"
- $if: 'tasks_for == "hg-push"'
then:
- "index.${trustDomain}.v2.${repository.project}.latest.taskgraph.decision"
......
......@@ -1800,10 +1800,9 @@ def build_task(config, tasks):
branch_rev = get_branch_rev(config)
routes.append(
'{}.v2.{}.{}.{}'.format(TREEHERDER_ROUTE_ROOT,
config.params['project'],
branch_rev,
config.params['pushlog_id'])
"{}.v2.{}.{}".format(
TREEHERDER_ROUTE_ROOT, config.params["project"], branch_rev,
)
)
if 'expires-after' not in task:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment