| 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 'experimental' bot. It must | 8 # This is the buildmaster config file for the 'experimental' 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 from buildbot.changes.filter import ChangeFilter | 17 from buildbot.changes.filter import ChangeFilter |
| 18 from buildbot.schedulers.basic import SingleBranchScheduler | 18 from buildbot.schedulers.basic import SingleBranchScheduler |
| 19 from buildbot.scheduler import Triggerable | 19 from buildbot.scheduler import Triggerable |
| 20 | 20 |
| 21 from master import build_utils | 21 from master import build_utils |
| 22 from master import chromium_step | 22 from master import chromium_step |
| 23 from master import master_utils | 23 from master import master_utils |
| 24 from master import slaves_list | 24 from master import slaves_list |
| 25 from master import url_poller | 25 from master import url_poller |
| 26 from master.factory import chromium_factory | 26 from master.factory import chromium_factory |
| 27 | 27 |
| 28 import config | 28 import config |
| 29 import master_site_config |
| 29 | 30 |
| 30 ActiveMaster = config.Master.ChromiumChromebot | 31 ActiveMaster = master_site_config.ChromiumChromebot |
| 31 | 32 |
| 32 MAIL_NOTIFIER = ActiveMaster.is_production_host | 33 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 33 PB_LISTENER = False | 34 PB_LISTENER = False |
| 34 STATUS_PUSH = ActiveMaster.is_production_host | 35 STATUS_PUSH = ActiveMaster.is_production_host |
| 35 | 36 |
| 36 # This is the dictionary that the buildmaster pays attention to. We also use | 37 # This is the dictionary that the buildmaster pays attention to. We also use |
| 37 # a shorter alias to save typing. | 38 # a shorter alias to save typing. |
| 38 c = BuildmasterConfig = {} | 39 c = BuildmasterConfig = {} |
| 39 c['change_source'] = [] | 40 c['change_source'] = [] |
| 40 c['schedulers'] = [] | 41 c['schedulers'] = [] |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 c['projectName'] = ActiveMaster.project_name | 345 c['projectName'] = ActiveMaster.project_name |
| 345 c['projectURL'] = config.Master.project_url | 346 c['projectURL'] = config.Master.project_url |
| 346 | 347 |
| 347 # the 'buildbotURL' string should point to the location where the buildbot's | 348 # the 'buildbotURL' string should point to the location where the buildbot's |
| 348 # internal web server (usually the html.Waterfall page) is visible. This | 349 # internal web server (usually the html.Waterfall page) is visible. This |
| 349 # typically uses the port number set in the Waterfall 'status' entry, but | 350 # typically uses the port number set in the Waterfall 'status' entry, but |
| 350 # with an externally-visible host name which the buildbot cannot figure out | 351 # with an externally-visible host name which the buildbot cannot figure out |
| 351 # without some help. | 352 # without some help. |
| 352 | 353 |
| 353 c['buildbotURL'] = 'http://localhost:8010/' | 354 c['buildbotURL'] = 'http://localhost:8010/' |
| OLD | NEW |