MozReview-Commit-ID: 7S4Cvtir5xP
This commit is contained in:
Phil Ringnalda 2017-05-21 09:38:07 -07:00
Родитель c9a6e119b0 dabae514fa
Коммит f6bc63ff33
1 изменённых файлов: 0 добавлений и 42 удалений

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

@ -483,42 +483,6 @@ TREEHERDER_ROUTE_ROOTS = {
COALESCE_KEY = 'builds.{project}.{name}'
DEFAULT_BRANCH_PRIORITY = 'low'
BRANCH_PRIORITIES = {
'mozilla-release': 'highest',
'comm-esr45': 'highest',
'comm-esr52': 'highest',
'mozilla-esr45': 'very-high',
'mozilla-esr52': 'very-high',
'mozilla-beta': 'high',
'comm-beta': 'high',
'mozilla-central': 'medium',
'comm-central': 'medium',
'mozilla-aurora': 'medium',
'comm-aurora': 'medium',
'autoland': 'low',
'mozilla-inbound': 'low',
'try': 'very-low',
'try-comm-central': 'very-low',
'alder': 'very-low',
'ash': 'very-low',
'birch': 'very-low',
'cedar': 'very-low',
'cypress': 'very-low',
'date': 'very-low',
'elm': 'very-low',
'fig': 'very-low',
'gum': 'very-low',
'holly': 'very-low',
'jamun': 'very-low',
'larch': 'very-low',
'maple': 'very-low',
'oak': 'very-low',
'pine': 'very-low',
'graphics': 'very-low',
'ux': 'very-low',
}
# define a collection of payload builders, depending on the worker implementation
payload_builders = {}
@ -957,11 +921,6 @@ def build_task(config, tasks):
name=task['coalesce-name'])
routes.append('coalesce.v1.' + key)
if 'priority' not in task:
task['priority'] = BRANCH_PRIORITIES.get(
config.params['project'],
DEFAULT_BRANCH_PRIORITY)
tags = task.get('tags', {})
tags.update({'createdForUser': config.params['owner']})
@ -984,7 +943,6 @@ def build_task(config, tasks):
},
'extra': extra,
'tags': tags,
'priority': task['priority'],
}
if task_th: