Bug 1419561 - Set better nightly l10n routes for repackage tasks too. r=rail
MozReview-Commit-ID: COHekNRlun3
--- a/taskcluster/taskgraph/transforms/repackage_routes.py
+++ b/taskcluster/taskgraph/transforms/repackage_routes.py
@@ -27,16 +27,18 @@ def validate(config, jobs):
def add_indexes(config, jobs):
for job in jobs:
repackage_type = job['attributes'].get('repackage_type')
if repackage_type:
build_platform = job['attributes']['build_platform']
job_name = '{}-{}'.format(build_platform, repackage_type)
product = job.get('index', {}).get('product', 'firefox')
index_type = 'generic'
+ if job['attributes'].get('nightly') and job['attributes'].get('locale'):
+ index_type = 'nightly-l10n'
if job['attributes'].get('nightly'):
index_type = 'nightly'
if job['attributes'].get('locale'):
index_type = 'l10n'
job['index'] = {
'job-name': job_name,
'product': product,
'type': index_type