Bug 1297519 - Generate multilocale Firefox snaps r=jlorenzo FENNEC_49_0_BUILD3 FENNEC_49_0_RELEASE
authorRail Aliiev <rail@mozilla.com>
Thu, 15 Sep 2016 20:17:54 -0400
changeset 7026 46ece28c68a5f5d8383b3d189dfe61316c390134
parent 7025 cab42e42703aed9bf67e08ca9dd8dcf8ed12955c
child 7027 bf074557185c5bbdb478c2795d6dce0a4f5d86cb
push id5242
push userraliiev@mozilla.com
push dateFri, 16 Sep 2016 12:49:43 +0000
reviewersjlorenzo
bugs1297519
Bug 1297519 - Generate multilocale Firefox snaps r=jlorenzo MozReview-Commit-ID: RKeowN7PvZ
buildfarm/release/release-runner.py
lib/python/kickoff/__init__.py
--- a/buildfarm/release/release-runner.py
+++ b/buildfarm/release/release-runner.py
@@ -444,16 +444,17 @@ def main(options):
                 "postrelease_mark_as_shipped_enabled": postrelease_mark_as_shipped_enabled,
                 "push_to_releases_enabled": push_to_releases_enabled,
                 "push_to_releases_automatic": branchConfig['push_to_releases_automatic'],
                 "beetmover_candidates_bucket": branchConfig["beetmover_buckets"][release["product"]],
                 "partner_repacks_platforms": branchConfig.get("partner_repacks_platforms", []),
                 "l10n_changesets": release['l10n_changesets'],
                 "extra_balrog_submitter_params": extra_balrog_submitter_params,
                 "publish_to_balrog_channels": publish_to_balrog_channels,
+                "snap_enabled": branchConfig.get("snap_enabled", False),
             }
 
             validate_graph_kwargs(queue, gpg_key_path, **kwargs)
             graph = make_task_graph_strict_kwargs(**kwargs)
             rr.update_status(release, "Submitting task graph")
             log.info("Task graph generated!")
             import pprint
             log.debug(pprint.pformat(graph, indent=4, width=160))
--- a/lib/python/kickoff/__init__.py
+++ b/lib/python/kickoff/__init__.py
@@ -240,17 +240,18 @@ def make_task_graph_strict_kwargs(appVer
                                   partial_updates, partner_repacks_platforms,
                                   postrelease_bouncer_aliases_enabled, uptake_monitoring_enabled,
                                   postrelease_version_bump_enabled,
                                   postrelease_mark_as_shipped_enabled,
                                   product, public_key, push_to_candidates_enabled,
                                   push_to_releases_automatic, push_to_releases_enabled, release_channels,
                                   repo_path, revision, signing_class, signing_pvt_key, source_enabled,
                                   tuxedo_server_url, update_verify_enabled, updates_builder_enabled,
-                                  updates_enabled, verifyConfigs, version, publish_to_balrog_channels):
+                                  updates_enabled, verifyConfigs, version, publish_to_balrog_channels,
+                                  snap_enabled):
     """simple wrapper that sanitizes whatever calls make_task_graph uses universally known kwargs"""
 
     kwargs = dict(
         appVersion=appVersion,
         balrog_api_root=balrog_api_root,
         balrog_password=balrog_password,
         balrog_username=balrog_username,
         beetmover_aws_access_key_id=beetmover_aws_access_key_id,
@@ -289,16 +290,17 @@ def make_task_graph_strict_kwargs(appVer
         source_enabled=source_enabled,
         tuxedo_server_url=tuxedo_server_url,
         update_verify_enabled=update_verify_enabled,
         updates_builder_enabled=updates_builder_enabled,
         updates_enabled=updates_enabled,
         verifyConfigs=verifyConfigs,
         version=version,
         publish_to_balrog_channels=publish_to_balrog_channels,
+        snap_enabled=snap_enabled,
     )
     if extra_balrog_submitter_params:
         kwargs["extra_balrog_submitter_params"] = extra_balrog_submitter_params
 
     # don't import releasetasks until required within function impl to avoid global failures
     # during nosetests
     from releasetasks import make_task_graph
     return make_task_graph(**kwargs)