| 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 # These modules come from scripts/master, which must be in the PYTHONPATH. | 5 # These modules come from scripts/master, which must be in the PYTHONPATH. |
| 6 from master import master_utils | 6 from master import master_utils |
| 7 from master import slaves_list | 7 from master import slaves_list |
| 8 | 8 |
| 9 import config | 9 import config |
| 10 import master_site_config |
| 10 | 11 |
| 11 ActiveMaster = config.Master.ChromiumMemory | 12 ActiveMaster = master_site_config.ChromiumMemory |
| 12 | 13 |
| 13 # Only the production Chromium Buildbot acts as the tree gatekeeper. | 14 # Only the production Chromium Buildbot acts as the tree gatekeeper. |
| 14 TREE_GATE_KEEPER = ActiveMaster.is_production_host | 15 TREE_GATE_KEEPER = ActiveMaster.is_production_host |
| 15 | 16 |
| 16 c = BuildmasterConfig = {} | 17 c = BuildmasterConfig = {} |
| 17 c['change_source'] = [] | 18 c['change_source'] = [] |
| 18 c['schedulers'] = [] | 19 c['schedulers'] = [] |
| 19 c['builders'] = [] | 20 c['builders'] = [] |
| 20 c['status'] = [] | 21 c['status'] = [] |
| 21 | 22 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 c['builders'], | 53 c['builders'], |
| 53 config.Master.GetBotPassword(), | 54 config.Master.GetBotPassword(), |
| 54 missing_recipients=['buildbot@chromium-build-health.appspotmail.com']) | 55 missing_recipients=['buildbot@chromium-build-health.appspotmail.com']) |
| 55 master_utils.VerifySetup(c, slaves) | 56 master_utils.VerifySetup(c, slaves) |
| 56 | 57 |
| 57 # Adds common status and tools to this master. | 58 # Adds common status and tools to this master. |
| 58 master_utils.AutoSetupMaster(c, ActiveMaster, | 59 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 59 public_html='../master.chromium/public_html', | 60 public_html='../master.chromium/public_html', |
| 60 templates=['../master.chromium/templates'], | 61 templates=['../master.chromium/templates'], |
| 61 enable_http_status_push=ActiveMaster.is_production_host) | 62 enable_http_status_push=ActiveMaster.is_production_host) |
| OLD | NEW |