Bug 1343649 - Add candidates_fennec boolean config for release runner. r=rail
authorMihai Tabara <mtabara@mozilla.com>
Mon, 13 Mar 2017 16:50:13 +0000
changeset 7373 a16e32a3a6ac
parent 7372 7537d9b5bbba
child 7374 6b539a22fea2
push id5491
push usermtabara@mozilla.com
push dateMon, 13 Mar 2017 17:38:29 +0000
reviewersrail
bugs1343649
Bug 1343649 - Add candidates_fennec boolean config for release runner. r=rail MozReview-Commit-ID: ch9W5Vjj4n
buildfarm/release/release-runner.py
buildfarm/release/releasetasks_graph_gen.py
lib/python/kickoff/__init__.py
--- a/buildfarm/release/release-runner.py
+++ b/buildfarm/release/release-runner.py
@@ -475,16 +475,18 @@ def main(options):
                 "update_verify_enabled": branchConfig["update_verify_enabled"],
                 "release_channels": release_channels,
                 "final_verify_channels": final_verify_channels,
                 "final_verify_platforms": branchConfig['release_platforms'],
                 "uptake_monitoring_platforms": branchConfig['uptake_monitoring_platforms'][release["product"]],
                 "signing_pvt_key": signing_pvt_key,
                 "build_tools_repo_path": branchConfig['build_tools_repo_path'],
                 "push_to_candidates_enabled": branchConfig['push_to_candidates_enabled'],
+                # TODO: temporary config enabled during 53 Fennec beta cycle
+                "candidates_fennec_enabled": branchConfig.get('candidates_fennec_enabled'),
                 "stage_product": branchConfig['stage_product'][release['product']],
                 "postrelease_bouncer_aliases_enabled": postrelease_bouncer_aliases_enabled,
                 "uptake_monitoring_enabled": branchConfig['uptake_monitoring_enabled'],
                 "tuxedo_server_url": branchConfig['tuxedoServerUrl'],
                 "postrelease_version_bump_enabled": postrelease_enabled,
                 "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'],
--- a/buildfarm/release/releasetasks_graph_gen.py
+++ b/buildfarm/release/releasetasks_graph_gen.py
@@ -56,16 +56,18 @@ def main(release_runner_config, release_
         "build_tools_repo_path": release_config['build_tools_repo_path'],
         "tuxedo_server_url": release_config['tuxedo_server_url'],
         "uptake_monitoring_enabled": release_config['uptake_monitoring_enabled'],
         "beetmover_candidates_bucket": release_config["beetmover_candidates_bucket"],
         "bouncer_enabled": release_config["bouncer_enabled"],
         "updates_builder_enabled": release_config["updates_builder_enabled"],
         "update_verify_enabled": release_config["update_verify_enabled"],
         "push_to_candidates_enabled": release_config['push_to_candidates_enabled'],
+        # TODO: temporary config enabled during 53 Fennec beta cycle
+        "candidates_fennec_enabled": release_config.get('candidates_fennec_enabled'),
         "stage_product": release_config['stage_product'],
         "postrelease_bouncer_aliases_enabled": release_config['postrelease_bouncer_aliases_enabled'],
         "postrelease_version_bump_enabled": release_config['postrelease_version_bump_enabled'],
         "push_to_releases_automatic": release_config['push_to_releases_automatic'],
         "partner_repacks_platforms": release_config["partner_repacks_platforms"],
         "eme_free_repacks_platforms": release_config["eme_free_repacks_platforms"],
         "sha1_repacks_platforms": release_config["sha1_repacks_platforms"],
         "repo_path": release_config["repo_path"],
--- a/lib/python/kickoff/__init__.py
+++ b/lib/python/kickoff/__init__.py
@@ -300,16 +300,17 @@ def make_task_graph_strict_kwargs(appVer
         push_to_releases_automatic=push_to_releases_automatic,
         push_to_releases_enabled=push_to_releases_enabled,
         release_channels=release_channels,
         repo_path=repo_path,
         revision=revision,
         signing_class=signing_class,
         signing_pvt_key=signing_pvt_key,
         source_enabled=source_enabled,
+        candidates_fennec_enabled=candidates_fennec_enabled,
         stage_product=stage_product,
         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,