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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 c['buildCacheSize'] = 100 | 386 c['buildCacheSize'] = 100 |
386 | 387 |
387 ####### PROJECT IDENTITY | 388 ####### PROJECT IDENTITY |
388 | 389 |
389 # The 'projectURL' string will be used to provide a link | 390 # The 'projectURL' string will be used to provide a link |
390 # from buildbot HTML pages to your project's home page. | 391 # from buildbot HTML pages to your project's home page. |
391 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 392 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
392 | 393 |
393 # Buildbot master url: | 394 # Buildbot master url: |
394 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.webrtc/' | 395 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.webrtc/' |
OLD | NEW |