diff options
Diffstat (limited to 'testing/mozharness/configs/builds/branch_specifics.py')
-rw-r--r-- | testing/mozharness/configs/builds/branch_specifics.py | 469 |
1 files changed, 469 insertions, 0 deletions
diff --git a/testing/mozharness/configs/builds/branch_specifics.py b/testing/mozharness/configs/builds/branch_specifics.py new file mode 100644 index 000000000..43f14c5ad --- /dev/null +++ b/testing/mozharness/configs/builds/branch_specifics.py @@ -0,0 +1,469 @@ +# this is a dict of branch specific keys/values. As this fills up and more +# fx build factories are ported, we might deal with this differently + +# we should be able to port this in-tree and have the respective repos and +# revisions handle what goes on in here. Tracking: bug 978510 + +# example config and explanation of how it works: +# config = { +# # if a branch matches a key below, override items in self.config with +# # items in the key's value. +# # this override can be done for every platform or at a platform level +# '<branch-name>': { +# # global config items (applies to all platforms and build types) +# 'repo_path': "projects/<branch-name>", +# 'graph_server_branch_name': "Firefox", +# +# # platform config items (applies to specific platforms) +# 'platform_overrides': { +# # if a platform matches a key below, override items in +# # self.config with items in the key's value +# 'linux64-debug': { +# 'upload_symbols': False, +# }, +# 'win64': { +# 'enable_checktests': False, +# }, +# } +# }, +# } + +config = { + ### release branches + "mozilla-central": { + "repo_path": 'mozilla-central', + "update_channel": "nightly", + "graph_server_branch_name": "Firefox", + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'mozilla-release': { + 'enable_release_promotion': True, + 'repo_path': 'releases/mozilla-release', + 'update_channel': 'release', + 'branch_uses_per_checkin_strategy': True, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + 'platform_overrides': { + 'linux': { + 'src_mozconfig': 'browser/config/mozconfigs/linux32/release', + 'force_clobber': True, + }, + 'linux64': { + 'src_mozconfig': 'browser/config/mozconfigs/linux64/release', + 'force_clobber': True, + }, + 'macosx64': { + 'src_mozconfig': 'browser/config/mozconfigs/macosx-universal/release', + 'force_clobber': True, + }, + 'win32': { + 'src_mozconfig': 'browser/config/mozconfigs/win32/release', + 'force_clobber': True, + }, + 'win64': { + 'src_mozconfig': 'browser/config/mozconfigs/win64/release', + 'force_clobber': True, + }, + 'linux-debug': { + 'update_channel': 'default', + }, + 'linux64-debug': { + 'update_channel': 'default', + }, + 'linux64-asan-debug': { + 'update_channel': 'default', + }, + 'linux64-asan': { + 'update_channel': 'default', + }, + 'linux64-cc': { + 'update_channel': 'default', + }, + 'linux64-st-an-debug': { + 'update_channel': 'default', + }, + 'linux64-st-an': { + 'update_channel': 'default', + }, + 'linux64-tsan': { + 'update_channel': 'default', + }, + 'linux64-add-on-devel': { + 'update_channel': 'default', + }, + 'macosx64-debug': { + 'update_channel': 'default', + }, + 'macosx64-st-an': { + 'update_channel': 'default', + }, + 'macosx64-st-an-debug': { + 'update_channel': 'default', + }, + 'macosx64-add-on-devel': { + 'update_channel': 'default', + }, + 'win32-debug': { + 'update_channel': 'default', + }, + 'win32-add-on-devel': { + 'update_channel': 'default', + }, + 'win64-debug': { + 'update_channel': 'default', + }, + 'win64-add-on-devel': { + 'update_channel': 'default', + }, + }, + }, + 'mozilla-beta': { + 'enable_release_promotion': 1, + 'repo_path': 'releases/mozilla-beta', + 'update_channel': 'beta', + 'branch_uses_per_checkin_strategy': True, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + 'platform_overrides': { + 'linux': { + 'src_mozconfig': 'browser/config/mozconfigs/linux32/beta', + 'force_clobber': True, + }, + 'linux64': { + 'src_mozconfig': 'browser/config/mozconfigs/linux64/beta', + 'force_clobber': True, + }, + 'macosx64': { + 'src_mozconfig': 'browser/config/mozconfigs/macosx-universal/beta', + 'force_clobber': True, + }, + 'win32': { + 'src_mozconfig': 'browser/config/mozconfigs/win32/beta', + 'force_clobber': True, + }, + 'win64': { + 'src_mozconfig': 'browser/config/mozconfigs/win64/beta', + 'force_clobber': True, + }, + 'linux-debug': { + 'update_channel': 'default', + }, + 'linux64-debug': { + 'update_channel': 'default', + }, + 'linux64-asan-debug': { + 'update_channel': 'default', + }, + 'linux64-asan': { + 'update_channel': 'default', + }, + 'linux64-cc': { + 'update_channel': 'default', + }, + 'linux64-st-an-debug': { + 'update_channel': 'default', + }, + 'linux64-st-an': { + 'update_channel': 'default', + }, + 'linux64-tsan': { + 'update_channel': 'default', + }, + 'linux64-add-on-devel': { + 'update_channel': 'default', + }, + 'macosx64-debug': { + 'update_channel': 'default', + }, + 'macosx64-st-an': { + 'update_channel': 'default', + }, + 'macosx64-st-an-debug': { + 'update_channel': 'default', + }, + 'macosx64-add-on-devel': { + 'update_channel': 'default', + }, + 'win32-debug': { + 'update_channel': 'default', + }, + 'win32-add-on-devel': { + 'update_channel': 'default', + }, + 'win64-debug': { + 'update_channel': 'default', + }, + 'win64-add-on-devel': { + 'update_channel': 'default', + }, + }, + }, + 'mozilla-esr52': { + 'enable_release_promotion': True, + 'repo_path': 'releases/mozilla-esr52', + 'update_channel': 'esr', + 'branch_uses_per_checkin_strategy': True, + 'use_branch_in_symbols_extra_buildid': False, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + 'platform_overrides': { + 'linux': { + 'src_mozconfig': 'browser/config/mozconfigs/linux32/release', + 'force_clobber': True, + }, + 'linux64': { + 'src_mozconfig': 'browser/config/mozconfigs/linux64/release', + 'force_clobber': True, + }, + 'macosx64': { + 'src_mozconfig': 'browser/config/mozconfigs/macosx-universal/release', + 'force_clobber': True, + }, + 'win32': { + 'src_mozconfig': 'browser/config/mozconfigs/win32/release', + 'force_clobber': True, + }, + 'win64': { + 'src_mozconfig': 'browser/config/mozconfigs/win64/release', + 'force_clobber': True, + }, + 'linux-debug': { + 'update_channel': 'default', + }, + 'linux64-debug': { + 'update_channel': 'default', + }, + 'linux64-asan-debug': { + 'update_channel': 'default', + }, + 'linux64-asan': { + 'update_channel': 'default', + }, + 'linux64-cc': { + 'update_channel': 'default', + }, + 'linux64-st-an-debug': { + 'update_channel': 'default', + }, + 'linux64-st-an': { + 'update_channel': 'default', + }, + 'linux64-tsan': { + 'update_channel': 'default', + }, + 'macosx64-debug': { + 'update_channel': 'default', + }, + 'macosx64-st-an': { + 'update_channel': 'default', + }, + 'macosx64-st-an-debug': { + 'update_channel': 'default', + }, + 'win32-debug': { + 'update_channel': 'default', + }, + 'win64-debug': { + 'update_channel': 'default', + }, + }, + }, + 'mozilla-aurora': { + 'repo_path': 'releases/mozilla-aurora', + 'update_channel': 'aurora', + 'branch_uses_per_checkin_strategy': True, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'try': { + 'repo_path': 'try', + 'clone_by_revision': True, + 'clone_with_purge': True, + 'tinderbox_build_dir': '%(who)s-%(got_revision)s', + 'to_tinderbox_dated': False, + 'include_post_upload_builddir': True, + 'release_to_try_builds': True, + 'stage_server': 'upload.trybld.productdelivery.prod.mozaws.net', + 'stage_username': 'trybld', + 'stage_ssh_key': 'trybld_dsa', + 'branch_supports_uploadsymbols': False, + 'use_clobberer': False, + }, + + ### project branches + #'fx-team': {}, #Bug 1296396 + 'gum': { + 'branch_uses_per_checkin_strategy': True, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'mozilla-inbound': { + 'repo_path': 'integration/mozilla-inbound', + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'autoland': { + 'repo_path': 'integration/autoland', + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'ux': { + "graph_server_branch_name": "UX", + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + # When build promotion goes live the mozconfig changes are probably better + # expressed once in files like configs/builds/releng_base_windows_32_builds.py + 'date': { + 'update_channel': 'beta-dev', + 'enable_release_promotion': 1, + 'platform_overrides': { + 'linux': { + 'src_mozconfig': 'browser/config/mozconfigs/linux32/beta', + }, + 'linux-debug': { + 'update_channel': 'default', + }, + 'linux64': { + 'src_mozconfig': 'browser/config/mozconfigs/linux64/beta', + }, + 'linux64-debug': { + 'update_channel': 'default', + }, + 'linux64-asan-debug': { + 'update_channel': 'default', + }, + 'linux64-asan': { + 'update_channel': 'default', + }, + 'linux64-cc': { + 'update_channel': 'default', + }, + 'linux64-st-an-debug': { + 'update_channel': 'default', + }, + 'linux64-st-an': { + 'update_channel': 'default', + }, + 'linux64-tsan': { + 'update_channel': 'default', + }, + 'macosx64': { + 'src_mozconfig': 'browser/config/mozconfigs/macosx-universal/beta', + }, + 'macosx64-debug': { + 'update_channel': 'default', + }, + 'macosx64-st-an': { + 'update_channel': 'default', + }, + 'macosx64-st-an-debug': { + 'update_channel': 'default', + }, + 'win32': { + 'src_mozconfig': 'browser/config/mozconfigs/win32/beta', + }, + 'win32-debug': { + 'update_channel': 'default', + }, + 'win64': { + 'src_mozconfig': 'browser/config/mozconfigs/win64/beta', + }, + 'win64-debug': { + 'update_channel': 'default', + }, + }, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'cypress': { + # bug 1164935 + 'branch_uses_per_checkin_strategy': True, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + + ### other branches that do not require anything special: + 'alder': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'ash': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'birch': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + # 'build-system': {} + 'cedar': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'elm': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'fig': {}, + 'graphics': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + # 'holly': {}, + 'jamun': { + 'update_channel': 'release-dev', + 'enable_release_promotion': 1, + 'platform_overrides': { + 'linux': { + 'src_mozconfig': 'browser/config/mozconfigs/linux32/release', + }, + 'linux-debug': { + 'update_channel': 'default', + }, + 'linux64': { + 'src_mozconfig': 'browser/config/mozconfigs/linux64/release', + }, + 'linux64-debug': { + 'update_channel': 'default', + }, + 'linux64-asan-debug': { + 'update_channel': 'default', + }, + 'linux64-asan': { + 'update_channel': 'default', + }, + 'linux64-cc': { + 'update_channel': 'default', + }, + 'linux64-st-an-debug': { + 'update_channel': 'default', + }, + 'linux64-st-an': { + 'update_channel': 'default', + }, + 'linux64-tsan': { + 'update_channel': 'default', + }, + 'macosx64': { + 'src_mozconfig': 'browser/config/mozconfigs/macosx-universal/release', + }, + 'macosx64-debug': { + 'update_channel': 'default', + }, + 'macosx64-st-an': { + 'update_channel': 'default', + }, + 'macosx64-st-an-debug': { + 'update_channel': 'default', + }, + 'win32': { + 'src_mozconfig': 'browser/config/mozconfigs/win32/release', + }, + 'win32-debug': { + 'update_channel': 'default', + }, + 'win64': { + 'src_mozconfig': 'browser/config/mozconfigs/win64/release', + }, + 'win64-debug': { + 'update_channel': 'default', + }, + }, + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'larch': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + # 'maple': {}, + 'oak': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, + 'pine': { + 'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net', + }, +} |