mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1562902 - fennec l10n bumping on esr68. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D38782 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
357ef6d576
commit
b9041f813d
38
testing/mozharness/configs/l10n_bumper/mozilla-esr68.py
Normal file
38
testing/mozharness/configs/l10n_bumper/mozilla-esr68.py
Normal file
@ -0,0 +1,38 @@
|
||||
import sys
|
||||
|
||||
MULTI_REPO = "releases/mozilla-esr68"
|
||||
EXES = {}
|
||||
if sys.platform.startswith("linux"):
|
||||
EXES = {
|
||||
# Get around the https warnings
|
||||
"hg": ["/usr/local/bin/hg", "--config", "web.cacerts=/etc/pki/tls/certs/ca-bundle.crt"],
|
||||
"hgtool.py": ["/usr/local/bin/hgtool.py"],
|
||||
}
|
||||
|
||||
config = {
|
||||
"log_name": "l10n_bumper",
|
||||
"log_type": "multi",
|
||||
"exes": EXES,
|
||||
|
||||
"gecko_pull_url": "https://hg.mozilla.org/{}".format(MULTI_REPO),
|
||||
"gecko_push_url": "ssh://hg.mozilla.org/{}".format(MULTI_REPO),
|
||||
|
||||
"hg_user": "L10n Bumper Bot <release+l10nbumper@mozilla.com>",
|
||||
"ssh_key": "~/.ssh/ffxbld_rsa",
|
||||
"ssh_user": "ffxbld",
|
||||
|
||||
"vcs_share_base": "/builds/hg-shared",
|
||||
"version_path": "mobile/android/config/version-files/release/version.txt",
|
||||
"status_path": ".l10n_bumper_status",
|
||||
|
||||
"bump_configs": [{
|
||||
"path": "mobile/locales/l10n-changesets.json",
|
||||
"format": "json",
|
||||
"name": "Fennec l10n changesets",
|
||||
"revision_url": "https://l10n.mozilla.org/shipping/l10n-changesets?av=fennec%(COMBINED_MAJOR_VERSION)s",
|
||||
"platform_configs": [{
|
||||
"platforms": ["android-multilocale"],
|
||||
"path": "mobile/android/locales/maemo-locales"
|
||||
}],
|
||||
}],
|
||||
}
|
@ -179,6 +179,7 @@ class L10nBumper(VCSScript):
|
||||
if bump_config.get('revision_url'):
|
||||
repl_dict = {
|
||||
'MAJOR_VERSION': version_list[0],
|
||||
'COMBINED_MAJOR_VERSION': str(int(version_list[0]) + int(version_list[1])),
|
||||
}
|
||||
|
||||
url = bump_config['revision_url'] % repl_dict
|
||||
|
Loading…
Reference in New Issue
Block a user