OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 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 'chromeos' bot. It must | 8 # This is the buildmaster config file for the 'chromeos' 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 |
(...skipping 10 matching lines...) Expand all Loading... |
21 from buildbot.scheduler import Periodic | 21 from buildbot.scheduler import Periodic |
22 | 22 |
23 # These modules come from scripts/master, which must be in the PYTHONPATH. | 23 # These modules come from scripts/master, which must be in the PYTHONPATH. |
24 from master import master_utils | 24 from master import master_utils |
25 from master import slaves_list | 25 from master import slaves_list |
26 from master.cros_filter import FilterNewSpec | 26 from master.cros_filter import FilterNewSpec |
27 from master.factory import chromeos_factory | 27 from master.factory import chromeos_factory |
28 | 28 |
29 # These modules come from scripts/common, which must be in the PYTHONPATH. | 29 # These modules come from scripts/common, which must be in the PYTHONPATH. |
30 import config | 30 import config |
| 31 import master_site_config |
31 | 32 |
32 ActiveMaster = config.Master.ChromiumOS | 33 ActiveMaster = master_site_config.ChromiumOS |
33 | 34 |
34 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 35 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
35 | 36 |
36 # Never enable auto_reboot for folks testing locally. | 37 # Never enable auto_reboot for folks testing locally. |
37 DISABLE_AUTO_REBOOT = not ActiveMaster.is_production_host | 38 DISABLE_AUTO_REBOOT = not ActiveMaster.is_production_host |
38 | 39 |
39 # This is the dictionary that the buildmaster pays attention to. We also use | 40 # This is the dictionary that the buildmaster pays attention to. We also use |
40 # a shorter alias to save typing. | 41 # a shorter alias to save typing. |
41 c = BuildmasterConfig = {} | 42 c = BuildmasterConfig = {} |
42 | 43 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 extraRecipients=['chrome-troopers@google.com'], | 296 extraRecipients=['chrome-troopers@google.com'], |
296 sheriffs=['sheriff'], | 297 sheriffs=['sheriff'], |
297 lookup=master_utils.FilterDomain(), | 298 lookup=master_utils.FilterDomain(), |
298 use_getname=True)) | 299 use_getname=True)) |
299 | 300 |
300 | 301 |
301 ####### PROJECT IDENTITY | 302 ####### PROJECT IDENTITY |
302 | 303 |
303 # Buildbot master url: | 304 # Buildbot master url: |
304 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromiumos/' | 305 c['buildbotURL'] = 'http://build.chromium.org/buildbot/chromiumos/' |
OLD | NEW |