| 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 # It has one job: define a dictionary named BuildmasterConfig. This | 8 # It has one job: define a dictionary named BuildmasterConfig. This |
| 9 # dictionary has a variety of keys to control different aspects of the | 9 # dictionary has a variety of keys to control different aspects of the |
| 10 # buildmaster. They are documented in docs/config.xhtml . | 10 # buildmaster. They are documented in docs/config.xhtml . |
| 11 | 11 |
| 12 from buildbot import locks | 12 from buildbot import locks |
| 13 from buildbot.scheduler import Dependent | 13 from buildbot.scheduler import Dependent |
| 14 from buildbot.scheduler import Scheduler | 14 from buildbot.scheduler import Scheduler |
| 15 from buildbot.scheduler import Periodic | 15 from buildbot.scheduler import Periodic |
| 16 | 16 |
| 17 from common import chromium_utils | 17 from common import chromium_utils |
| 18 from master import build_utils | 18 from master import build_utils |
| 19 from master import chromium_step | 19 from master import chromium_step |
| 20 from master import master_utils | 20 from master import master_utils |
| 21 from master import slaves_list | 21 from master import slaves_list |
| 22 from master.factory import gclient_factory | 22 from master.factory import gclient_factory |
| 23 from master.factory import dart_factory | 23 from master.factory import dart_factory |
| 24 from master.factory.dart_factory import linux_env, windows_env | 24 from master.factory.dart_factory import linux_env, windows_env |
| 25 | 25 |
| 26 import config | 26 import config |
| 27 ActiveMaster = config.Master.Dart | 27 import master_site_config |
| 28 ActiveMaster = master_site_config.Dart |
| 28 utils = dart_factory.DartUtils(ActiveMaster) | 29 utils = dart_factory.DartUtils(ActiveMaster) |
| 29 | 30 |
| 30 # Hack to increase timeout for steps, dart2js debug checked mode takes more | 31 # Hack to increase timeout for steps, dart2js debug checked mode takes more |
| 31 # than 8 hours. | 32 # than 8 hours. |
| 32 utils.monkey_patch_remoteshell() | 33 utils.monkey_patch_remoteshell() |
| 33 | 34 |
| 34 MASTER_HOST = ActiveMaster.master_host | 35 MASTER_HOST = ActiveMaster.master_host |
| 35 WEB_STATUS = True | 36 WEB_STATUS = True |
| 36 MAIL_NOTIFIER = ActiveMaster.is_production_host | 37 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 37 GOOD_REVISIONS = ActiveMaster.is_production_host | 38 GOOD_REVISIONS = ActiveMaster.is_production_host |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 c['projectName'] = ActiveMaster.project_name | 804 c['projectName'] = ActiveMaster.project_name |
| 804 c['projectURL'] = config.Master.project_url | 805 c['projectURL'] = config.Master.project_url |
| 805 | 806 |
| 806 # the 'buildbotURL' string should point to the location where the buildbot's | 807 # the 'buildbotURL' string should point to the location where the buildbot's |
| 807 # internal web server (usually the html.Waterfall page) is visible. This | 808 # internal web server (usually the html.Waterfall page) is visible. This |
| 808 # typically uses the port number set in the Waterfall 'status' entry, but | 809 # typically uses the port number set in the Waterfall 'status' entry, but |
| 809 # with an externally-visible host name which the buildbot cannot figure out | 810 # with an externally-visible host name which the buildbot cannot figure out |
| 810 # without some help. | 811 # without some help. |
| 811 | 812 |
| 812 c['buildbotURL'] = 'http://build.chromium.org/p/client.dart/' | 813 c['buildbotURL'] = 'http://build.chromium.org/p/client.dart/' |
| OLD | NEW |