зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1286075: never coalesce on try; r=jmaher
MozReview-Commit-ID: K6cX58yvdja --HG-- extra : rebase_source : f8b218080ed359eb4b450058ed727a6358b27a53
This commit is contained in:
Родитель
383d581bc6
Коммит
7033c6330d
|
@ -180,15 +180,12 @@ def remove_coalescing_from_task(task):
|
|||
|
||||
:param task: task definition.
|
||||
"""
|
||||
patterns = [
|
||||
re.compile("^coalesce.v1.builds.*pgo$"),
|
||||
]
|
||||
|
||||
try:
|
||||
payload = task["task"]["payload"]
|
||||
routes = task["task"]["routes"]
|
||||
removable_routes = [route for route in list(routes)
|
||||
if any([p.match(route) for p in patterns])]
|
||||
if route.startswith('coalesce.')]
|
||||
if removable_routes:
|
||||
# we remove supersederUrl only when we have also routes to remove
|
||||
payload.pop("supersederUrl")
|
||||
|
|
Загрузка…
Ссылка в новой задаче