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

Treeherder ignores this.

Differential Revision: https://phabricator.services.mozilla.com/D82251
This commit is contained in:
Tom Prince 2020-07-03 23:37:49 +00:00
Родитель d8143d554a
Коммит b89d332bae
2 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -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: