diff --git a/testing/mozharness/configs/single_locale/autoland.py b/testing/mozharness/configs/single_locale/autoland.py new file mode 100644 index 000000000000..5934953330a4 --- /dev/null +++ b/testing/mozharness/configs/single_locale/autoland.py @@ -0,0 +1,34 @@ +import os + +config = { + "nightly_build": True, + "branch": "mozilla-central", + "en_us_binary_url": "http://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central", + "update_channel": "nightly", + + # l10n + "hg_l10n_base": "https://hg.mozilla.org/l10n-central", + + # mar + "mar_tools_url": os.environ.get( + "MAR_TOOLS_URL", + # Default to fetching from ftp rather than setting an environ var + "https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/%(platform)s" + ), + + # repositories + "repos": [{ + "vcs": "hg", + "repo": "https://hg.mozilla.org/build/tools", + "branch": "default", + "dest": "tools", + }, { + "vcs": "hg", + "repo": "https://hg.mozilla.org/integration/autoland", + "revision": "%(revision)s", + "dest": "autoland", + "clone_upstream_url": "https://hg.mozilla.org/mozilla-unified", + }], + # purge options + 'is_automation': True, +} diff --git a/testing/mozharness/configs/single_locale/autoland_android-api-16.py b/testing/mozharness/configs/single_locale/autoland_android-api-16.py new file mode 100644 index 000000000000..e67a80016cb7 --- /dev/null +++ b/testing/mozharness/configs/single_locale/autoland_android-api-16.py @@ -0,0 +1,54 @@ +import os + +BRANCH = "autoland" +MOZ_UPDATE_CHANNEL = "nightly" +MOZILLA_DIR = BRANCH +OBJDIR = "obj-firefox" +EN_US_BINARY_URL = "http://archive.mozilla.org/pub/mobile/nightly/latest-%s-android-api-16/en-US" % BRANCH +HG_SHARE_BASE_DIR = "/builds/hg-shared" + +config = { + "branch": BRANCH, + "log_name": "single_locale", + "objdir": OBJDIR, + "is_automation": True, + "locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR, + "locales_dir": "mobile/android/locales", + "ignore_locales": ["en-US"], + "nightly_build": True, + 'balrog_credentials_file': 'oauth.txt', + "tools_repo": "https://hg.mozilla.org/build/tools", + "tooltool_config": { + "manifest": "mobile/android/config/tooltool-manifests/android/releng.manifest", + "output_dir": "%(abs_work_dir)s/" + MOZILLA_DIR, + }, + "repos": [{ + "vcs": "hg", + "repo": "https://hg.mozilla.org/build/tools", + "branch": "default", + "dest": "tools", + }, { + "vcs": "hg", + "repo": "https://hg.mozilla.org/integration/autoland", + "revision": "%(revision)s", + "dest": MOZILLA_DIR, + }], + "hg_l10n_base": "https://hg.mozilla.org/l10n-central", + "hg_l10n_tag": "default", + 'vcs_share_base': HG_SHARE_BASE_DIR, + + "l10n_dir": "l10n-central", + "repack_env": { + # so ugly, bug 951238 + "LD_LIBRARY_PATH": "/lib:/tools/gcc-4.7.2-0moz1/lib:/tools/gcc-4.7.2-0moz1/lib64", + "MOZ_OBJDIR": OBJDIR, + "EN_US_BINARY_URL": os.environ.get("EN_US_BINARY_URL", EN_US_BINARY_URL), + "MOZ_UPDATE_CHANNEL": MOZ_UPDATE_CHANNEL, + }, + "upload_branch": "%s-android-api-16" % BRANCH, + "signature_verification_script": "tools/release/signing/verify-android-signature.sh", + "platform": "android", + + # Balrog + "build_target": "Android_arm-eabi-gcc3", +} diff --git a/testing/mozharness/configs/single_locale/mozilla-inbound.py b/testing/mozharness/configs/single_locale/mozilla-inbound.py new file mode 100644 index 000000000000..45862c61bfce --- /dev/null +++ b/testing/mozharness/configs/single_locale/mozilla-inbound.py @@ -0,0 +1,34 @@ +import os + +config = { + "nightly_build": True, + "branch": "mozilla-inbound", + "en_us_binary_url": "http://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central", + "update_channel": "nightly", + + # l10n + "hg_l10n_base": "https://hg.mozilla.org/l10n-central", + + # mar + "mar_tools_url": os.environ.get( + "MAR_TOOLS_URL", + # Default to fetching from ftp rather than setting an environ var + "https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/%(platform)s" + ), + + # repositories + "repos": [{ + "vcs": "hg", + "repo": "https://hg.mozilla.org/build/tools", + "branch": "default", + "dest": "tools", + }, { + "vcs": "hg", + "repo": "https://hg.mozilla.org/integration/mozilla-inbound", + "revision": "%(revision)s", + "dest": "mozilla-inbound", + "clone_upstream_url": "https://hg.mozilla.org/mozilla-unified", + }], + # purge options + 'is_automation': True, +} diff --git a/testing/mozharness/configs/single_locale/mozilla-inbound_android-api-16.py b/testing/mozharness/configs/single_locale/mozilla-inbound_android-api-16.py new file mode 100644 index 000000000000..4bf5787511eb --- /dev/null +++ b/testing/mozharness/configs/single_locale/mozilla-inbound_android-api-16.py @@ -0,0 +1,54 @@ +import os + +BRANCH = "mozilla-inbound" +MOZ_UPDATE_CHANNEL = "default" +MOZILLA_DIR = BRANCH +OBJDIR = "obj-firefox" +EN_US_BINARY_URL = "http://archive.mozilla.org/pub/mobile/nightly/latest-%s-android-api-16/en-US" % BRANCH +HG_SHARE_BASE_DIR = "/builds/hg-shared" + +config = { + "branch": BRANCH, + "log_name": "single_locale", + "objdir": OBJDIR, + "is_automation": True, + "locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR, + "locales_dir": "mobile/android/locales", + "ignore_locales": ["en-US"], + "nightly_build": True, + 'balrog_credentials_file': 'oauth.txt', + "tools_repo": "https://hg.mozilla.org/build/tools", + "tooltool_config": { + "manifest": "mobile/android/config/tooltool-manifests/android/releng.manifest", + "output_dir": "%(abs_work_dir)s/" + MOZILLA_DIR, + }, + "repos": [{ + "vcs": "hg", + "repo": "https://hg.mozilla.org/build/tools", + "branch": "default", + "dest": "tools", + }, { + "vcs": "hg", + "repo": "https://hg.mozilla.org/integration/mozilla-inbound", + "revision": "%(revision)s", + "dest": MOZILLA_DIR, + }], + "hg_l10n_base": "https://hg.mozilla.org/l10n-central", + "hg_l10n_tag": "default", + 'vcs_share_base': HG_SHARE_BASE_DIR, + + "l10n_dir": "l10n-central", + "repack_env": { + # so ugly, bug 951238 + "LD_LIBRARY_PATH": "/lib:/tools/gcc-4.7.2-0moz1/lib:/tools/gcc-4.7.2-0moz1/lib64", + "MOZ_OBJDIR": OBJDIR, + "EN_US_BINARY_URL": os.environ.get("EN_US_BINARY_URL", EN_US_BINARY_URL), + "MOZ_UPDATE_CHANNEL": MOZ_UPDATE_CHANNEL, + }, + "upload_branch": "%s-android-api-16" % BRANCH, + "signature_verification_script": "tools/release/signing/verify-android-signature.sh", + "platform": "android", + + # Balrog + "build_target": "Android_arm-eabi-gcc3", +}