Bug 1419561 - Set better nightly l10n routes for repackage tasks too. r=rail
authorJustin Wood <Callek@gmail.com>
Wed, 22 Nov 2017 15:33:30 -0500
changeset 437825 d0101cd2fa30cec4df4816cad2f35227aa852dca
parent 437824 e2a27f821d32a364d1ba2dd5b0d226a1eb562dcd
child 437826 565c65d130adbeb633655fcddc8af6b2aaf818fb
push id117
push userfmarier@mozilla.com
push dateTue, 28 Nov 2017 20:17:16 +0000
reviewersrail
bugs1419561
milestone59.0a1
Bug 1419561 - Set better nightly l10n routes for repackage tasks too. r=rail MozReview-Commit-ID: COHekNRlun3
taskcluster/taskgraph/transforms/repackage_routes.py
--- 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