No bug: [release] Remove an unused index type; r=Callek

Differential Revision: https://phabricator.services.mozilla.com/D32533

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Prince 2019-05-28 12:42:19 +00:00
parent 8d3fe38fdf
commit c90ce65aed

View File

@ -135,7 +135,7 @@ task_description_schema = Schema({
# Type of gecko v2 index to use
'type': Any('generic', 'nightly', 'l10n', 'nightly-with-multi-l10n',
'release', 'nightly-l10n', 'shippable', 'shippable-l10n',
'nightly-l10n', 'shippable', 'shippable-l10n',
'android-nightly', 'android-nightly-with-multi-l10n'),
# The rank that the task will receive in the TaskCluster
@ -1483,29 +1483,6 @@ def add_shippable_index_routes(config, task):
return task
@index_builder('release')
def add_release_index_routes(config, task):
index = task.get('index')
routes = []
release_config = get_release_config(config)
subs = config.params.copy()
subs['build_number'] = str(release_config['build_number'])
subs['revision'] = subs['head_rev']
subs['underscore_version'] = release_config['version'].replace('.', '_')
subs['product'] = index['product']
subs['trust-domain'] = config.graph_config['trust-domain']
subs['branch_rev'] = get_branch_rev(config)
subs['branch'] = subs['project']
for rt in task.get('routes', []):
routes.append(rt.format(**subs))
task['routes'] = routes
return task
@index_builder('nightly-with-multi-l10n')
def add_nightly_multi_index_routes(config, task):
task = add_nightly_index_routes(config, task)