| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # These modules come from scripts, which must be in the PYTHONPATH. | 5 # These modules come from scripts, which must be in the PYTHONPATH. |
| 6 from master import master_utils | 6 from master import master_utils |
| 7 from master import slaves_list | 7 from master import slaves_list |
| 8 from master.builders_pools import BuildersPools | 8 from master.builders_pools import BuildersPools |
| 9 from master.factory import annotator_factory | 9 from master.factory import annotator_factory |
| 10 from master.try_job_http import TryJobHTTP | 10 from master.try_job_http import TryJobHTTP |
| 11 from master.try_mail_notifier import TryMailNotifier | 11 from master.try_mail_notifier import TryMailNotifier |
| 12 | 12 |
| 13 import config | 13 import config |
| 14 import master_site_config | 14 import master_site_config |
| 15 ActiveMaster = master_site_config.LibyuvTryServer | 15 ActiveMaster = master_site_config.LibyuvTryServer |
| 16 | 16 |
| 17 MAIL_NOTIFIER = True | 17 MAIL_NOTIFIER = True |
| 18 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host | 18 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host |
| 19 | 19 |
| 20 # This is the dictionary that the buildmaster pays attention to. We also use | 20 # This is the dictionary that the buildmaster pays attention to. We also use |
| 21 # a shorter alias to save typing. | 21 # a shorter alias to save typing. |
| 22 c = BuildmasterConfig = {} | 22 c = BuildmasterConfig = {} |
| 23 | 23 |
| 24 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 24 config.DatabaseSetup(c) |
| 25 | 25 |
| 26 ####### CHANGESOURCES | 26 ####### CHANGESOURCES |
| 27 c['change_source'] = [] | 27 c['change_source'] = [] |
| 28 | 28 |
| 29 # Avoid merging requests. | 29 # Avoid merging requests. |
| 30 c['mergeRequests'] = lambda *_: False | 30 c['mergeRequests'] = lambda *_: False |
| 31 | 31 |
| 32 ####### BUILDERS | 32 ####### BUILDERS |
| 33 # Recipe based builders. | 33 # Recipe based builders. |
| 34 specs = [ | 34 specs = [ |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 # Must be at least 2x the number of slaves. | 167 # Must be at least 2x the number of slaves. |
| 168 c['eventHorizon'] = 100 | 168 c['eventHorizon'] = 100 |
| 169 # Must be at least 2x the number of on-going builds. | 169 # Must be at least 2x the number of on-going builds. |
| 170 c['buildCacheSize'] = 100 | 170 c['buildCacheSize'] = 100 |
| 171 | 171 |
| 172 ####### PROJECT IDENTITY | 172 ####### PROJECT IDENTITY |
| 173 | 173 |
| 174 # The 'projectURL' string will be used to provide a link | 174 # The 'projectURL' string will be used to provide a link |
| 175 # from buildbot HTML pages to your project's home page. | 175 # from buildbot HTML pages to your project's home page. |
| 176 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 176 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |