OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # READ THIS: | 7 # READ THIS: |
8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
9 | 9 |
10 import os | 10 import os |
(...skipping 28 matching lines...) Expand all Loading... |
39 props = {'path_config': 'kitchen'} | 39 props = {'path_config': 'kitchen'} |
40 props.update(kwargs.pop('properties', {})) | 40 props.update(kwargs.pop('properties', {})) |
41 return remote_run_factory.RemoteRunFactory( | 41 return remote_run_factory.RemoteRunFactory( |
42 active_master=ActiveMaster, | 42 active_master=ActiveMaster, |
43 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 43 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
44 recipe=recipe, | 44 recipe=recipe, |
45 factory_properties=props, | 45 factory_properties=props, |
46 **kwargs) | 46 **kwargs) |
47 | 47 |
48 c['builders'] = [] | 48 c['builders'] = [] |
49 for platform in ['linux_precise', 'mac10.9', 'win7']: | 49 for platform in ['linux', 'mac', 'win']: |
50 for target in ['_dbg', '_compile_dbg', '_compile_rel', '_rel']: | 50 for target in ['_dbg', '_compile_dbg', '_compile_rel', '_rel']: |
51 c['builders'].append({ | 51 c['builders'].append({ |
52 'name': '%s_blink%s' % (platform, target), | 52 'name': '%s_blink%s' % (platform, target), |
53 'factory': m_remote_run('chromium_trybot', timeout=3600), | 53 'factory': m_remote_run('chromium_trybot', timeout=3600), |
54 'slavebuilddir': '%s_layout' % platform | 54 'slavebuilddir': '%s_layout' % platform |
55 }) | 55 }) |
56 | 56 |
57 slaves = slaves_list.SlavesList('slaves.cfg', 'BlinkTryServer') | 57 slaves = slaves_list.SlavesList('slaves.cfg', 'BlinkTryServer') |
58 | 58 |
59 for builder in c['builders']: | 59 for builder in c['builders']: |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 c['logHorizon'] = 3000 | 110 c['logHorizon'] = 3000 |
111 # Must be at least 2x the number of slaves. | 111 # Must be at least 2x the number of slaves. |
112 c['eventHorizon'] = 200 | 112 c['eventHorizon'] = 200 |
113 | 113 |
114 # Adjust the buildCaches to be 3x the number of slaves per builder. | 114 # Adjust the buildCaches to be 3x the number of slaves per builder. |
115 c['autoBuildCacheRatio'] = 3 | 115 c['autoBuildCacheRatio'] = 3 |
116 | 116 |
117 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 117 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
118 | 118 |
119 # vi: set ts=4 sts=2 sw=2 et: | 119 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |