testing/mozharness/configs/l10n_bumper/mozilla-beta.py
author L10n Bumper Bot <release+l10nbumper@mozilla.com>
Tue, 11 Dec 2018 02:00:21 -0800
changeset 506159 0f7e2be5cf68
parent 497757 d0d593bf9772
permissions -rw-r--r--
no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD is -> 06149463cc0e nl -> a65fa7c913a5 pl -> e5622c65dc0b ro -> 3e810021f1a1 tr -> 8600ba1beaef ur -> 0f2bdf9f49a0

import sys

MULTI_REPO = "releases/mozilla-beta"
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",
    "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": "browser/config/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%(MAJOR_VERSION)s",
        "platform_configs": [{
            "platforms": ["android-multilocale"],
            "path": "mobile/android/locales/maemo-locales"
        }],
    }, {
        "path": "browser/locales/l10n-changesets.json",
        "format": "json",
        "name": "Firefox l10n changesets",
        "revision_url": "https://l10n.mozilla.org/shipping/l10n-changesets?av=fx%(MAJOR_VERSION)s",
        "ignore_config": {
            "ja": ["macosx64", "macosx64-devedition"],
            "ja-JP-mac": [
                "linux", "linux-devedition", "linux64", "linux64-devedition",
                "win32", "win32-devedition", "win64", "win64-devedition",
            ],
        },
        "platform_configs": [{
            "platforms": [
                "linux", "linux-devedition", "linux64", "linux64-devedition",
                "macosx64", "macosx64-devedition", "win32", "win32-devedition",
                "win64", "win64-devedition",
            ],
            "path": "browser/locales/shipped-locales",
            "format": "shipped-locales",
        }],
    }],
}