| 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 # These modules come from scripts, which must be in the PYTHONPATH. | 10 # These modules come from scripts, which must be in the PYTHONPATH. |
| 11 from master import master_utils | 11 from master import master_utils |
| 12 from master import slaves_list | 12 from master import slaves_list |
| 13 from master.builders_pools import BuildersPools | 13 from master.builders_pools import BuildersPools |
| 14 from master.factory import chromium_factory | 14 from master.factory import chromium_factory |
| 15 from master.factory import webrtc_factory | 15 from master.factory import webrtc_factory |
| 16 from master.try_job_http import TryJobHTTP | 16 from master.try_job_http import TryJobHTTP |
| 17 from master.try_mail_notifier import TryMailNotifier | 17 from master.try_mail_notifier import TryMailNotifier |
| 18 | 18 |
| 19 import config | 19 import config |
| 20 import master_site_config |
| 20 | 21 |
| 21 ActiveMaster = config.Master.WebRTCTryServer | 22 ActiveMaster = master_site_config.WebRTCTryServer |
| 22 | 23 |
| 23 MAIL_NOTIFIER = True | 24 MAIL_NOTIFIER = True |
| 24 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host | 25 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host |
| 25 | 26 |
| 26 # This is the dictionary that the buildmaster pays attention to. We also use | 27 # This is the dictionary that the buildmaster pays attention to. We also use |
| 27 # a shorter alias to save typing. | 28 # a shorter alias to save typing. |
| 28 c = BuildmasterConfig = {} | 29 c = BuildmasterConfig = {} |
| 29 | 30 |
| 30 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 31 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
| 31 | 32 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 c['buildCacheSize'] = 100 | 346 c['buildCacheSize'] = 100 |
| 346 | 347 |
| 347 ####### PROJECT IDENTITY | 348 ####### PROJECT IDENTITY |
| 348 | 349 |
| 349 # The 'projectURL' string will be used to provide a link | 350 # The 'projectURL' string will be used to provide a link |
| 350 # from buildbot HTML pages to your project's home page. | 351 # from buildbot HTML pages to your project's home page. |
| 351 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 352 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 352 | 353 |
| 353 # Buildbot master url: | 354 # Buildbot master url: |
| 354 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.webrtc/' | 355 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.webrtc/' |
| OLD | NEW |