mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-09 18:09:16 +00:00
116 lines
4.7 KiB
Python
116 lines
4.7 KiB
Python
BRANCH = "mozilla-release"
|
|
MOZ_UPDATE_CHANNEL = "release"
|
|
MOZILLA_DIR = BRANCH
|
|
OBJDIR = "obj-l10n"
|
|
EN_US_BINARY_URL = "http://archive.mozilla.org/pub/mobile/candidates/%(version)s-candidates/build%(buildnum)d/android/en-US"
|
|
STAGE_SERVER = "upload.ffxbld.productdelivery.prod.mozaws.net"
|
|
STAGE_USER = "ffxbld"
|
|
STAGE_SSH_KEY = "~/.ssh/ffxbld_rsa"
|
|
HG_SHARE_BASE_DIR = "/builds/hg-shared"
|
|
|
|
config = {
|
|
"log_name": "single_locale",
|
|
"objdir": OBJDIR,
|
|
"is_automation": True,
|
|
"buildbot_json_path": "buildprops.json",
|
|
"purge_minsize": 10,
|
|
"force_clobber": True,
|
|
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
|
|
"locales_file": "buildbot-configs/mozilla/l10n-changesets_mobile-release.json",
|
|
"locales_dir": "mobile/android/locales",
|
|
"locales_platform": "android",
|
|
"ignore_locales": ["en-US"],
|
|
"balrog_credentials_file": "oauth.txt",
|
|
"tools_repo": "https://hg.mozilla.org/build/tools",
|
|
"is_release": True,
|
|
"tooltool_config": {
|
|
"manifest": "mobile/android/config/tooltool-manifests/android/releng.manifest",
|
|
"output_dir": "%(abs_work_dir)s/" + MOZILLA_DIR,
|
|
"bootstrap_cmd": ["bash", "-xe", "setup.sh"],
|
|
},
|
|
"exes": {
|
|
'tooltool.py': '/tools/tooltool.py',
|
|
},
|
|
"repos": [{
|
|
"repo": "https://hg.mozilla.org/releases/mozilla-release",
|
|
"revision": "default",
|
|
"dest": MOZILLA_DIR,
|
|
}, {
|
|
"repo": "https://hg.mozilla.org/build/buildbot-configs",
|
|
"revision": "default",
|
|
"dest": "buildbot-configs"
|
|
}, {
|
|
"repo": "https://hg.mozilla.org/build/tools",
|
|
"revision": "default",
|
|
"dest": "tools"
|
|
}, {
|
|
"repo": "https://hg.mozilla.org/build/compare-locales",
|
|
"revision": "RELEASE_AUTOMATION"
|
|
}],
|
|
"hg_l10n_base": "https://hg.mozilla.org/releases/l10n/%s" % BRANCH,
|
|
"hg_l10n_tag": "default",
|
|
'vcs_share_base': HG_SHARE_BASE_DIR,
|
|
"l10n_dir": MOZILLA_DIR,
|
|
|
|
"release_config_file": "buildbot-configs/mozilla/release-fennec-mozilla-release.py",
|
|
"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_PKG_VERSION": "%(version)s",
|
|
"MOZ_OBJDIR": OBJDIR,
|
|
"LOCALE_MERGEDIR": "%(abs_merge_dir)s/",
|
|
"MOZ_UPDATE_CHANNEL": MOZ_UPDATE_CHANNEL,
|
|
},
|
|
"base_en_us_binary_url": EN_US_BINARY_URL,
|
|
# TODO ideally we could get this info from a central location.
|
|
# However, the agility of these individual config files might trump that.
|
|
"upload_env": {
|
|
"UPLOAD_USER": STAGE_USER,
|
|
"UPLOAD_SSH_KEY": STAGE_SSH_KEY,
|
|
"UPLOAD_HOST": STAGE_SERVER,
|
|
"UPLOAD_TO_TEMP": "1",
|
|
"MOZ_PKG_VERSION": "%(version)s",
|
|
},
|
|
"base_post_upload_cmd": "post_upload.py -p mobile -n %(buildnum)s -v %(version)s --builddir android/%(locale)s --release-to-mobile-candidates-dir --nightly-dir=candidates",
|
|
"merge_locales": True,
|
|
"make_dirs": ['config'],
|
|
"mozilla_dir": MOZILLA_DIR,
|
|
"mozconfig": "%s/mobile/android/config/mozconfigs/android/l10n-release" % MOZILLA_DIR,
|
|
"signature_verification_script": "tools/release/signing/verify-android-signature.sh",
|
|
"key_alias": "release",
|
|
"default_actions": [
|
|
"clobber",
|
|
"pull",
|
|
"list-locales",
|
|
"setup",
|
|
"repack",
|
|
"upload-repacks",
|
|
"submit-to-balrog",
|
|
"summary",
|
|
],
|
|
# Mock
|
|
"mock_target": "mozilla-centos6-x86_64-android",
|
|
"mock_packages": ['autoconf213', 'python', 'zip', 'mozilla-python27-mercurial', 'git', 'ccache',
|
|
'glibc-static', 'libstdc++-static', 'perl-Test-Simple', 'perl-Config-General',
|
|
'gtk2-devel', 'libnotify-devel', 'yasm',
|
|
'alsa-lib-devel', 'libcurl-devel',
|
|
'wireless-tools-devel', 'libX11-devel',
|
|
'libXt-devel', 'mesa-libGL-devel',
|
|
'gnome-vfs2-devel', 'GConf2-devel', 'wget',
|
|
'mpfr', # required for system compiler
|
|
'xorg-x11-font*', # fonts required for PGO
|
|
'imake', # required for makedepend!?!
|
|
'gcc45_0moz3', 'gcc454_0moz1', 'gcc472_0moz1', 'gcc473_0moz1', 'yasm', 'ccache', # <-- from releng repo
|
|
'valgrind', 'dbus-x11',
|
|
'pulseaudio-libs-devel',
|
|
'freetype-2.3.11-6.el6_1.8.x86_64',
|
|
'freetype-devel-2.3.11-6.el6_1.8.x86_64',
|
|
'java-1.7.0-openjdk-devel',
|
|
'openssh-clients',
|
|
'zlib-devel-1.2.3-27.el6.i686',
|
|
],
|
|
"mock_files": [
|
|
("/home/cltbld/.ssh", "/home/mock_mozilla/.ssh"),
|
|
],
|
|
}
|