Bug 1250585 - beetmover - add push to mirrors, r?rail draft
authorJordan Lund <jlund@mozilla.com>
Tue, 23 Feb 2016 16:48:33 -0800
changeset 6573 dab133f1ba6ce293d8ded072414d20807c7b9f57
parent 6571 5d73a5428fab8c0e2797e789d5385745a502d69f
child 6574 7e916154e21d743ff59ed07e9513bcb0def92f94
push id22
push userjlund@mozilla.com
push dateWed, 24 Feb 2016 00:48:42 +0000
reviewersrail
bugs1250585
Bug 1250585 - beetmover - add push to mirrors, r?rail MozReview-Commit-ID: Ejo9ZsHMmeP
buildfarm/release/release-runner.py
--- a/buildfarm/release/release-runner.py
+++ b/buildfarm/release/release-runner.py
@@ -149,16 +149,20 @@ def get_platform_locales(l10n_changesets
     if platform == "macosx64":
         ignore = "ja"
     else:
         ignore = "ja-JP-mac"
 
     return [l for l in l10n_changesets.keys() if l != ignore]
 
 
+def is_push_to_releases_automatic(branch):
+    return branch in ('mozilla-beta', 'date')
+
+
 def get_l10n_config(release, branchConfig, branch, l10n_changesets, index):
     l10n_platforms = {}
     for platform in branchConfig["l10n_release_platforms"]:
         task = index.findTask("buildbot.revisions.{revision}.{branch}.{platform}".format(
             revision=release["mozillaRevision"],
             branch=branch,
             platform=platform,
         ))
@@ -316,16 +320,19 @@ def main(options):
                 # TODO: stagin specific, make them configurable
                 "signing_class": "dep-signing",
                 "bouncer_enabled": branchConfig["bouncer_enabled"],
                 "release_channels": branchConfig["release_channels"],
                 "signing_pvt_key": signing_pvt_key,
                 "build_tools_repo_path": branchConfig['build_tools_repo_path'],
                 "push_to_candidates_enabled": branchConfig['push_to_candidates_enabled'],
                 "postrelease_version_bump_enabled": branchConfig['postrelease_version_bump_enabled'],
+                "push_to_releases_enabled": True,
+                "push_to_releases_automatic": is_push_to_releases_automatic(branch),
+                "beetmover_candidates_bucket": branchConfig["beetmover_candidates_bucket"],
             }
 
             validate_graph_kwargs(**kwargs)
 
             graph_id = slugId()
             graph = make_task_graph(**kwargs)
 
             rr.update_status(release, "Submitting task graph")