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 master_config | 30 from master import master_config |
31 from master import master_utils | 31 from master import master_utils |
32 from master import perf_count_notifier | 32 from master import perf_count_notifier |
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.ChromiumPerfAv | 39 ActiveMaster = master_site_config.ChromiumPerfAv |
39 | 40 |
40 # Enable PERF_NOTIFIER in production to send cmp@google.com perf alerts. | 41 # Enable PERF_NOTIFIER in production to send cmp@google.com perf alerts. |
41 PERF_NOTIFIER = ActiveMaster.is_production_host | 42 PERF_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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 c['projectName'] = ActiveMaster.project_name | 281 c['projectName'] = ActiveMaster.project_name |
281 c['projectURL'] = config.Master.project_url | 282 c['projectURL'] = config.Master.project_url |
282 | 283 |
283 # the 'buildbotURL' string should point to the location where the buildbot's | 284 # the 'buildbotURL' string should point to the location where the buildbot's |
284 # internal web server (usually the html.Waterfall page) is visible. This | 285 # internal web server (usually the html.Waterfall page) is visible. This |
285 # typically uses the port number set in the Waterfall 'status' entry, but | 286 # typically uses the port number set in the Waterfall 'status' entry, but |
286 # with an externally-visible host name which the buildbot cannot figure out | 287 # with an externally-visible host name which the buildbot cannot figure out |
287 # without some help. | 288 # without some help. |
288 | 289 |
289 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf_av/' | 290 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.perf_av/' |
OLD | NEW |