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 'chromium' bot. It must | 8 # This is the buildmaster config file for the 'chromium' 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 16 matching lines...) Expand all Loading... |
27 from buildbot.scheduler import Triggerable | 27 from buildbot.scheduler import Triggerable |
28 | 28 |
29 from master import build_utils | 29 from master import build_utils |
30 from master import chromium_notifier | 30 from master import chromium_notifier |
31 from master import master_config | 31 from master import master_config |
32 from master import master_utils | 32 from master import master_utils |
33 from master import slaves_list | 33 from master import slaves_list |
34 from master.factory import chromium_factory | 34 from master.factory import chromium_factory |
35 | 35 |
36 import config | 36 import config |
| 37 import master_site_config |
37 | 38 |
38 ActiveMaster = config.Master.ChromiumPerf | 39 ActiveMaster = master_site_config.ChromiumPerf |
39 | 40 |
40 # Enable MAIL_NOTIFIER in production to send perf sheriff alerts. | 41 # Enable MAIL_NOTIFIER in production to send perf sheriff alerts. |
41 MAIL_NOTIFIER = ActiveMaster.is_production_host | 42 MAIL_NOTIFIER = ActiveMaster.is_production_host |
42 | 43 |
43 # This is the dictionary that the buildmaster pays attention to. We also use | 44 # This is the dictionary that the buildmaster pays attention to. We also use |
44 # a shorter alias to save typing. | 45 # a shorter alias to save typing. |
45 c = BuildmasterConfig = {} | 46 c = BuildmasterConfig = {} |
46 | 47 |
47 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 48 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
48 # configured into the buildslaves (with their --master option) | 49 # configured into the buildslaves (with their --master option) |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 c['projectName'] = ActiveMaster.project_name | 1054 c['projectName'] = ActiveMaster.project_name |
1054 c['projectURL'] = config.Master.project_url | 1055 c['projectURL'] = config.Master.project_url |
1055 | 1056 |
1056 # the 'buildbotURL' string should point to the location where the buildbot's | 1057 # the 'buildbotURL' string should point to the location where the buildbot's |
1057 # internal web server (usually the html.Waterfall page) is visible. This | 1058 # internal web server (usually the html.Waterfall page) is visible. This |
1058 # typically uses the port number set in the Waterfall 'status' entry, but | 1059 # typically uses the port number set in the Waterfall 'status' entry, but |
1059 # with an externally-visible host name which the buildbot cannot figure out | 1060 # with an externally-visible host name which the buildbot cannot figure out |
1060 # without some help. | 1061 # without some help. |
1061 | 1062 |
1062 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf/' | 1063 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf/' |
OLD | NEW |