OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 # This is the buildmaster config file for the 'nacl' bot. It must | 8 # This is the buildmaster config file for the 'nacl' bot. It must |
9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
11 # 'mktap buildbot master'). | 11 # 'mktap buildbot master'). |
12 | 12 |
13 # It has one job: define a dictionary named BuildmasterConfig. This | 13 # It has one job: define a dictionary named BuildmasterConfig. This |
14 # dictionary has a variety of keys to control different aspects of the | 14 # dictionary has a variety of keys to control different aspects of the |
15 # buildmaster. They are documented in docs/config.xhtml . | 15 # buildmaster. They are documented in docs/config.xhtml . |
16 | 16 |
17 | 17 |
18 from buildbot.changes import svnpoller | 18 from buildbot.changes import svnpoller |
19 from buildbot.scheduler import Periodic | 19 from buildbot.scheduler import Periodic |
20 from buildbot.scheduler import Scheduler | 20 from buildbot.scheduler import Scheduler |
21 | 21 |
22 from master import master_utils | 22 from master import master_utils |
23 from master import build_utils | 23 from master import build_utils |
24 from master import slaves_list | 24 from master import slaves_list |
25 from master.factory import nacl_ports_factory | 25 from master.factory import nacl_ports_factory |
26 | 26 |
27 import config | 27 import config |
| 28 import master_site_config |
28 | 29 |
29 ActiveMaster = config.Master.NativeClientPorts | 30 ActiveMaster = master_site_config.NativeClientPorts |
30 | 31 |
31 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 32 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
32 GOOD_REVISIONS = ActiveMaster.is_production_host | 33 GOOD_REVISIONS = ActiveMaster.is_production_host |
33 | 34 |
34 # This is the dictionary that the buildmaster pays attention to. We also use | 35 # This is the dictionary that the buildmaster pays attention to. We also use |
35 # a shorter alias to save typing. | 36 # a shorter alias to save typing. |
36 c = BuildmasterConfig = {} | 37 c = BuildmasterConfig = {} |
37 | 38 |
38 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 39 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
39 | 40 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 from master import goodrevisions | 220 from master import goodrevisions |
220 c['status'].append(goodrevisions.GoodRevisions( | 221 c['status'].append(goodrevisions.GoodRevisions( |
221 good_revision_steps={'': all_steps}, | 222 good_revision_steps={'': all_steps}, |
222 store_revisions_url=ActiveMaster.store_revisions_url)) | 223 store_revisions_url=ActiveMaster.store_revisions_url)) |
223 | 224 |
224 | 225 |
225 ####### PROJECT IDENTITY | 226 ####### PROJECT IDENTITY |
226 | 227 |
227 # Buildbot master url: | 228 # Buildbot master url: |
228 c['buildbotURL'] = 'http://build.chromium.org/p/client.nacl.ports/' | 229 c['buildbotURL'] = 'http://build.chromium.org/p/client.nacl.ports/' |
OLD | NEW |