Bug 1250585 - beetmover - add push to mirrors, r?rail
MozReview-Commit-ID: Ejo9ZsHMmeP
--- 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")