Bug 1419561 - Set better nightly l10n routes for repackage tasks too. r=rail draft
authorJustin Wood <Callek@gmail.com>
Wed, 22 Nov 2017 15:33:30 -0500
changeset 702150 083efc49363bbcee7b6d96fe538c74d043a49b2b
parent 702149 4153bfea52c9414d5eef82d9bbdd23a194bab76b
child 741385 ad7ba9df7274d51f96ad93f604cebefd19ebe518
push id90398
push userCallek@gmail.com
push dateWed, 22 Nov 2017 20:34:21 +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