Bug 1135781 - generate builds per checkin on beta/release/esr that allow installation of unsigned addons r=jlund

This commit is contained in:
Kim Moir 2016-06-22 09:08:44 -04:00
Родитель 5979f6931b
Коммит 7ae9030d88
9 изменённых файлов: 186 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,6 @@
. $topsrcdir/browser/config/mozconfigs/linux64/nightly
#add-on signing is checked but not enforced
MOZ_REQUIRE_SIGNING=0
ac_add_options --with-branding=browser/branding/unofficial

Просмотреть файл

@ -0,0 +1,6 @@
. $topsrcdir/browser/config/mozconfigs/macosx64/nightly
#add-on signing is checked but not enforced
MOZ_REQUIRE_SIGNING=0
ac_add_options --with-branding=browser/branding/unofficial

Просмотреть файл

@ -0,0 +1,7 @@
. $topsrcdir/browser/config/mozconfigs/win32/nightly
#add-on signing is checked but not enforced
MOZ_REQUIRE_SIGNING=0
ac_add_options --with-branding=browser/branding/unofficial

Просмотреть файл

@ -0,0 +1,6 @@
. $topsrcdir/browser/config/mozconfigs/win64/nightly
#add-on signing is checked but not enforced
MOZ_REQUIRE_SIGNING=0
ac_add_options --with-branding=browser/branding/unofficial

Просмотреть файл

@ -0,0 +1,43 @@
import os
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
'setup-mock',
'build',
'upload-files',
# 'sendchange',
'check-test',
# 'generate-build-stats',
# 'update',
],
'stage_platform': 'linux64-add-on-devel',
'publish_nightly_en_US_routes': False,
'build_type': 'add-on-devel',
'platform_supports_post_upload_to_latest': False,
'enable_signing': False,
'enable_talos_sendchange': False,
#### 64 bit build specific #####
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-add-on-devel',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',
'CCACHE_COMPRESS': '1',
'CCACHE_UMASK': '002',
'LC_ALL': 'C',
## 64 bit specific
'PATH': '/home/worker/workspace/build/src/gcc/bin:/tools/buildbot/bin:/usr/local/bin:/usr/lib64/ccache:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/tools/git/bin:/tools/python27/bin:\
/tools/python27-mercurial/bin:/home/cltbld/bin',
},
'src_mozconfig': 'browser/config/mozconfigs/linux64/add-on-devel',
#######################
}

Просмотреть файл

@ -0,0 +1,44 @@
import os
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
# 'setup-mock',
'build',
'upload-files',
# 'sendchange',
'check-test',
# 'generate-build-stats',
# 'update',
],
'stage_platform': 'macosx64-add-on-devel',
'publish_nightly_en_US_routes': False,
'build_type': 'add-on-devel',
'platform_supports_post_upload_to_latest': False,
'objdir': 'obj-add-on-devel',
'enable_signing': False,
'enable_talos_sendchange': False,
#### 64 bit build specific #####
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-add-on-devel',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',
'CCACHE_COMPRESS': '1',
'CCACHE_UMASK': '002',
'LC_ALL': 'C',
## 64 bit specific
'PATH': '/tools/python/bin:/tools/buildbot/bin:/opt/local/bin:/usr/bin:'
'/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin',
##
},
'src_mozconfig': 'browser/config/mozconfigs/macosx64/add-on-devel',
#######################
}

Просмотреть файл

@ -0,0 +1,37 @@
import os
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
# 'setup-mock', windows do not use mock
'build',
'upload-files',
# 'sendchange',
'check-test',
# 'generate-build-stats',
# 'update',
],
'stage_platform': 'win32-add-on-devel',
'enable_talos_sendchange': False,
#### 32 bit build specific #####
'env': {
'BINSCOPE': 'C:/Program Files (x86)/Microsoft/SDL BinScope/BinScope.exe',
'HG_SHARE_BASE_DIR': 'C:/builds/hg-shared',
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': 'obj-add-on-devel',
'PATH': 'C:/mozilla-build/nsis-3.0b1;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
'TOOLTOOL_HOME': '/c/builds',
},
'src_mozconfig': 'browser/config/mozconfigs/win32/add-on-devel',
#######################
}

Просмотреть файл

@ -0,0 +1,36 @@
import os
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
# 'setup-mock', windows do not use mock
'build',
'upload-files',
# 'sendchange',
'check-test',
# 'generate-build-stats',
# 'update',
],
'stage_platform': 'win64-add-on-devel',
'enable_talos_sendchange': False,
#### 64 bit build specific #####
'env': {
'BINSCOPE': 'C:/Program Files (x86)/Microsoft/SDL BinScope/BinScope.exe',
'HG_SHARE_BASE_DIR': 'C:/builds/hg-shared',
'MOZ_AUTOMATION': '1',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': 'obj-add-on-devel',
'PATH': 'C:/mozilla-build/nsis-3.0b1;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
'TOOLTOOL_HOME': '/c/builds',
},
'src_mozconfig': 'browser/config/mozconfigs/win64/add-on-devel',
#######################
}

Просмотреть файл

@ -341,6 +341,7 @@ class BuildOptionParser(object):
# *It will warn and fail if there is not a config for the current
# platform/bits
build_variants = {
'add-on-devel': 'builds/releng_sub_%s_configs/%s_add-on-devel.py',
'asan': 'builds/releng_sub_%s_configs/%s_asan.py',
'asan-tc': 'builds/releng_sub_%s_configs/%s_asan_tc.py',
'tsan': 'builds/releng_sub_%s_configs/%s_tsan.py',