TRY_SLAVES = { 'win64-rev2': TRY_WIN64_REV2, 'macosx64': TRY_MAC64, 'macosx64-lion': TRY_LION, 'mock': TRY_LINUX64_EC2, } # Local overrides for default values GLOBAL_VARS.update({ 'stage_server': 'upload.tbirdbld.productdelivery.prod.mozaws.net', 'balrog_username': '******', 'download_base_url': 'http://archive.mozilla.org/pub/thunderbird', 'talos_masters': [], # List of unittest masters to notify of new builds to test, # if a failure to notify the master should result in a warning, # and sendchange retry count before give up 'unittest_masters': [ ('buildbot-master81.build.mozilla.org:9301', True, 5), ], 'base_bundle_urls': ['https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/bundles'], 'tooltool_url_list': ['https://api.pub.build.mozilla.org/tooltool/'], }) # Local branch overrides BRANCHES = { 'comm-central': { 'tinderbox_tree': 'Thunderbird', }, 'comm-esr45': { 'tinderbox_tree': 'Thunderbird-Esr45',
'totalChunks': 2, 'thisChunk': 2, }, )), ] }, }, } # Copy project branches into BRANCHES keys for branch in ACTIVE_PROJECT_BRANCHES: BRANCHES[branch] = deepcopy(PROJECT_BRANCHES[branch]) # Copy unittest vars in first, then platform vars for branch in BRANCHES.keys(): for key, value in GLOBAL_VARS.items(): # Don't override platforms if it's set if key == 'platforms' and 'platforms' in BRANCHES[branch]: continue BRANCHES[branch][key] = deepcopy(value) for key, value in BRANCH_UNITTEST_VARS.items(): # Don't override platforms if it's set and locked if key == 'platforms' and 'platforms' in BRANCHES[branch] and BRANCHES[branch].get('lock_platforms'): continue BRANCHES[branch][key] = deepcopy(value) for platform, platform_config in PLATFORM_UNITTEST_VARS.items(): if platform in BRANCHES[branch]['platforms']: for key, value in platform_config.items(): value = deepcopy(value)
from config_common import loadDefaultValues, delete_slave_platform import thunderbird_localconfig reload(thunderbird_localconfig) import master_common reload(master_common) from master_common import setMainCommVersions, items_before, items_at_least import thunderbird_project_branches reload(thunderbird_project_branches) from thunderbird_project_branches import PROJECT_BRANCHES, ACTIVE_PROJECT_BRANCHES GLOBAL_VARS = deepcopy(GLOBAL_VARS) BRANCH_UNITTEST_VARS = deepcopy(BRANCH_UNITTEST_VARS) GLOBAL_VARS['stage_username'] = '******' GLOBAL_VARS.update(thunderbird_localconfig.GLOBAL_VARS.copy()) BRANCHES = { 'comm-central': { }, 'comm-beta': { }, 'comm-esr52': { 'gecko_version': 52 }, 'try-comm-central': { 'coallesce_jobs': False }, } setMainCommVersions(BRANCHES)
'win64-rev2': TRY_WIN64_REV2, 'macosx64': TRY_MAC64, 'macosx64-lion': TRY_LION, 'mock': TRY_LINUX64_EC2, } # Local overrides for default values GLOBAL_VARS.update({ 'stage_server': 'upload.tbirdbld.productdelivery.prod.mozaws.net', 'balrog_username': '******', 'download_base_url': 'http://archive.mozilla.org/pub/thunderbird', 'talos_masters': [], # List of unittest masters to notify of new builds to test, # if a failure to notify the master should result in a warning, # and sendchange retry count before give up 'unittest_masters': [ ('buildbot-master81.build.mozilla.org:9301', True, 5), ], 'tooltool_url_list': ['https://api.pub.build.mozilla.org/tooltool/'], }) # Local branch overrides BRANCHES = { 'comm-central': { 'tinderbox_tree': 'Thunderbird', }, 'comm-esr45': {
'win64-rev2': TRY_WIN64_REV2, 'macosx64': TRY_MAC64, 'macosx64-lion': TRY_LION, 'mock': TRY_LINUX64_EC2, } # Local overrides for default values GLOBAL_VARS.update({ 'balrog_username': '******', 'download_base_url': 'http://ftp.mozilla.org/pub/mozilla.org/thunderbird', 'talos_masters': [], # List of unittest masters to notify of new builds to test, # if a failure to notify the master should result in a warning, # and sendchange retry count before give up 'unittest_masters': [ ('buildbot-master81.build.mozilla.org:9301', True, 5), ], 'xulrunner_tinderbox_tree': None, 'weekly_tinderbox_tree': 'Thunderbird', 'l10n_tinderbox_tree': 'Mozilla-l10n', 'base_bundle_urls': ['https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/bundles'], 'tooltool_url_list': ['https://api.pub.build.mozilla.org/tooltool/'], }) # Local branch overrides BRANCHES = { 'comm-central': { 'packaged_unittest_tinderbox_tree': 'Thunderbird', 'tinderbox_tree': 'Thunderbird', },
from localconfig import SLAVES, TRY_SLAVES, GLOBAL_VARS import thunderbird_localconfig reload(thunderbird_localconfig) import master_common reload(master_common) from master_common import setMainCommVersions, items_before, items_at_least import thunderbird_project_branches reload(thunderbird_project_branches) from thunderbird_project_branches import PROJECT_BRANCHES, ACTIVE_PROJECT_BRANCHES GLOBAL_VARS = deepcopy(GLOBAL_VARS) BRANCH_UNITTEST_VARS = deepcopy(BRANCH_UNITTEST_VARS) GLOBAL_VARS['stage_username'] = '******' GLOBAL_VARS.update(thunderbird_localconfig.GLOBAL_VARS.copy()) BRANCHES = { 'comm-central': {}, 'comm-beta': {}, 'comm-aurora': {}, 'comm-esr38': { 'gecko_version': 38 }, 'try-comm-central': { 'coallesce_jobs': False }, } setMainCommVersions(BRANCHES)