OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 from buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
6 from buildbot.scheduler import Scheduler | 6 from buildbot.scheduler import Scheduler |
7 | 7 |
8 # These modules come from scripts/master, which must be in the PYTHONPATH. | 8 # These modules come from scripts/master, which must be in the PYTHONPATH. |
9 from master import build_utils | 9 from master import build_utils |
10 from master import master_utils | 10 from master import master_utils |
11 from master import slaves_list | 11 from master import slaves_list |
12 | 12 |
13 from master.factory import chromium_factory | 13 from master.factory import chromium_factory |
14 | 14 |
15 # These modules come from scripts/common, which must be in the PYTHONPATH. | 15 # These modules come from scripts/common, which must be in the PYTHONPATH. |
16 import config | 16 import config |
Isaac (away)
2013/04/29 01:27:57
This existing master_site_configs (like master.chr
agable
2013/04/29 17:40:20
The existing master_site_configs have been changed
| |
17 import master_site_config | |
17 | 18 |
18 ActiveMaster = config.Master.ChromiumChrome | 19 ActiveMaster = master_site_config.ChromiumChrome |
19 | 20 |
20 # This is the dictionary that the buildmaster pays attention to. We also use | 21 # This is the dictionary that the buildmaster pays attention to. We also use |
21 # a shorter alias to save typing. | 22 # a shorter alias to save typing. |
22 c = BuildmasterConfig = {} | 23 c = BuildmasterConfig = {} |
23 | 24 |
24 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 25 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
25 | 26 |
26 ####### CHANGESOURCES | 27 ####### CHANGESOURCES |
27 | 28 |
28 # the 'change_source' list tells the buildmaster how it should find out about | 29 # the 'change_source' list tells the buildmaster how it should find out about |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
280 # Adds common status and tools to this master. | 281 # Adds common status and tools to this master. |
281 master_utils.AutoSetupMaster(c, ActiveMaster, | 282 master_utils.AutoSetupMaster(c, ActiveMaster, |
282 public_html='../master.chromium/public_html', | 283 public_html='../master.chromium/public_html', |
283 templates=['../master.chromium/templates'], | 284 templates=['../master.chromium/templates'], |
284 enable_http_status_push=ActiveMaster.is_production_host) | 285 enable_http_status_push=ActiveMaster.is_production_host) |
285 | 286 |
286 ####### PROJECT IDENTITY | 287 ####### PROJECT IDENTITY |
287 | 288 |
288 # Buildbot master url: | 289 # Buildbot master url: |
289 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromium.chrome/' | 290 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromium.chrome/' |
OLD | NEW |