Bug 1557461 - limit locales for partner/EME-free repacks to overlap of requested and enabled locales, r=sfraser, a=release
authorNick Thomas <nthomas@mozilla.com>
Mon, 10 Jun 2019 12:07:43 +1200
changeset 536772 039662b2b76c2d7c0ae4ca537d4501a107c4b2f7
parent 536771 e05e7980cd03fb7465c4092e22cb8a286616aafa
child 536773 46f0e514450cd34e77ecb0c337cda47305a6273e
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfraser, release
bugs1557461
milestone68.0
Bug 1557461 - limit locales for partner/EME-free repacks to overlap of requested and enabled locales, r=sfraser, a=release Differential Revision: https://phabricator.services.mozilla.com/D34304
taskcluster/ci/release-eme-free-repack/kind.yml
taskcluster/ci/release-partner-repack/kind.yml
taskcluster/taskgraph/transforms/partner_repack.py
--- a/taskcluster/ci/release-eme-free-repack/kind.yml
+++ b/taskcluster/ci/release-eme-free-repack/kind.yml
@@ -33,17 +33,17 @@ job-defaults:
         script: mozharness/scripts/desktop_partner_repacks.py
         job-script: taskcluster/scripts/builder/repackage.sh
         need-xvfb: false
         tooltool-downloads: false
     extra:
         limit-locales:
             by-release-level:
                 staging: true
-                production: false
+                production: true
 
 jobs:
     macosx64-shippable:
         treeherder:
             symbol: EME
             platform: macosx64/opt
             kind: test
             tier: 1
--- a/taskcluster/ci/release-partner-repack/kind.yml
+++ b/taskcluster/ci/release-partner-repack/kind.yml
@@ -33,17 +33,17 @@ job-defaults:
         script: mozharness/scripts/desktop_partner_repacks.py
         job-script: taskcluster/scripts/builder/repackage.sh
         need-xvfb: false
         tooltool-downloads: false
     extra:
         limit-locales:
             by-release-level:
                 staging: true
-                production: false
+                production: true
 
 jobs:
     linux-shippable:
         attributes:
             build_platform: linux-shippable
             build_type: opt
             artifact_prefix: releng/partner
             shippable: true
--- a/taskcluster/taskgraph/transforms/partner_repack.py
+++ b/taskcluster/taskgraph/transforms/partner_repack.py
@@ -76,17 +76,17 @@ def add_command_arguments(config, tasks)
         platform = task['attributes']['build_platform'].partition('-shippable')[0]
         platform = platform.partition('-nightly')[0]
         task['run']['options'] = [
             'version={}'.format(release_config['version']),
             'build-number={}'.format(release_config['build_number']),
             'platform={}'.format(platform),
         ]
         if task['extra']['limit-locales']:
-            for locale in all_locales:
+            for locale in sorted(all_locales):
                 task['run']['options'].append('limit-locale={}'.format(locale))
         if 'partner' in config.kind and config.params['release_partners']:
             for partner in config.params['release_partners']:
                 task['run']['options'].append('partner={}'.format(partner))
 
         # The upstream taskIds are stored a special environment variable, because we want to use
         # task-reference's to resolve dependencies, but the string handling of MOZHARNESS_OPTIONS
         # blocks that. It's space-separated string of ids in the end.