| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 # | 3 # |
| 4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
| 5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
| 6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
| 7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
| 8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 ActiveMaster = master_site_config.WebRTCTryServer | 23 ActiveMaster = master_site_config.WebRTCTryServer |
| 24 | 24 |
| 25 MAIL_NOTIFIER = True | 25 MAIL_NOTIFIER = True |
| 26 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host | 26 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host |
| 27 | 27 |
| 28 # This is the dictionary that the buildmaster pays attention to. We also use | 28 # This is the dictionary that the buildmaster pays attention to. We also use |
| 29 # a shorter alias to save typing. | 29 # a shorter alias to save typing. |
| 30 c = BuildmasterConfig = {} | 30 c = BuildmasterConfig = {} |
| 31 | 31 |
| 32 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 32 config.DatabaseSetup(c) |
| 33 | 33 |
| 34 ####### CHANGESOURCES | 34 ####### CHANGESOURCES |
| 35 c['change_source'] = [] | 35 c['change_source'] = [] |
| 36 | 36 |
| 37 # Avoid merging requests. | 37 # Avoid merging requests. |
| 38 c['mergeRequests'] = lambda *_: False | 38 c['mergeRequests'] = lambda *_: False |
| 39 | 39 |
| 40 ####### BUILDERS | 40 ####### BUILDERS |
| 41 | 41 |
| 42 # Recipe based builders. | 42 # Recipe based builders. |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 # Must be at least 2x the number of slaves. | 230 # Must be at least 2x the number of slaves. |
| 231 c['eventHorizon'] = 100 | 231 c['eventHorizon'] = 100 |
| 232 # Must be at least 2x the number of on-going builds. | 232 # Must be at least 2x the number of on-going builds. |
| 233 c['buildCacheSize'] = 100 | 233 c['buildCacheSize'] = 100 |
| 234 | 234 |
| 235 ####### PROJECT IDENTITY | 235 ####### PROJECT IDENTITY |
| 236 | 236 |
| 237 # The 'projectURL' string will be used to provide a link | 237 # The 'projectURL' string will be used to provide a link |
| 238 # from buildbot HTML pages to your project's home page. | 238 # from buildbot HTML pages to your project's home page. |
| 239 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 239 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |