Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 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 # See master.experimental/slaves.cfg for documentation. | 7 # See master.experimental/slaves.cfg for documentation. |
| 8 | 8 |
| 9 # down slaves don't cause re-allocation, just removal | 9 # down slaves don't cause re-allocation, just removal |
| 10 down_slaves = [ | 10 down_slaves = [ |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 extras.pop(index) | 33 extras.pop(index) |
| 34 elif count > 0: | 34 elif count > 0: |
| 35 extras[index][1] -= 1 | 35 extras[index][1] -= 1 |
| 36 extras_expanded.append(builders) | 36 extras_expanded.append(builders) |
| 37 return extras_expanded | 37 return extras_expanded |
| 38 | 38 |
| 39 | 39 |
| 40 def linux(): | 40 def linux(): |
| 41 """Linux VMs can hold a maximum of 4 checkouts per slave.""" | 41 """Linux VMs can hold a maximum of 4 checkouts per slave.""" |
| 42 | 42 |
| 43 normal_slaves = range(384, 430) | |
|
M-A Ruel
2013/03/07 18:34:56
Just so I understand correctly, these are turned d
Paweł Hajdan Jr.
2013/03/07 18:44:45
The above are temporarily taken out of the "trybot
| |
| 44 new_slaves_block = range(2, 100) | 43 new_slaves_block = range(2, 100) |
| 45 all_slaves = (['vm%d-m4' % i for i in normal_slaves] + | 44 all_slaves = ['slave%d-c4' % i for i in new_slaves_block] |
| 46 ['slave%d-c4' % i for i in new_slaves_block]) | |
| 47 gpu_slaves = [3, 7, 8] | 45 gpu_slaves = [3, 7, 8] |
| 48 # "precise" means "Ubuntu 12.04 'precise'". | 46 # "precise" means "Ubuntu 12.04 'precise'". |
| 49 precise_slaves = [468, 469, 497, 502, 503] | 47 precise_slaves = [468, 469, 497, 502, 503] + range(750, 782) |
| 50 precise32_slaves = [211] | 48 precise32_slaves = [211] |
| 51 | 49 |
| 52 # Configurations on every VM. | 50 # Configurations on every VM. |
| 53 base = [ | 51 base = [ |
| 54 # One line per shared directory. In decreasing usage: | 52 # One line per shared directory. In decreasing usage: |
| 55 'linux', 'linux_rel', 'linux_rel_naclmore', | 53 'linux', 'linux_rel', 'linux_rel_naclmore', |
| 56 'linux_clang', | 54 'linux_clang', |
| 57 ] | 55 ] |
| 58 # One of the extra configuration per VM. | 56 # One of the extra configuration per VM. |
| 59 # First the ones barely used. By reducing the number of available slaves, we | 57 # First the ones barely used. By reducing the number of available slaves, we |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 } for index, i in enumerate(gpu_slaves) | 101 } for index, i in enumerate(gpu_slaves) |
| 104 ]) | 102 ]) |
| 105 | 103 |
| 106 # Add Ubuntu 12.04 'precise' slaves. | 104 # Add Ubuntu 12.04 'precise' slaves. |
| 107 result.extend([ | 105 result.extend([ |
| 108 { | 106 { |
| 109 'master': 'TryServer', | 107 'master': 'TryServer', |
| 110 'os': 'linux', | 108 'os': 'linux', |
| 111 'version': 'precise', | 109 'version': 'precise', |
| 112 'bits': '64', | 110 'bits': '64', |
| 113 'builder': 'linux_rel_precise', | 111 'builder': ['linux_precise', 'linux_rel_precise'], |
| 114 'hostname': 'vm%d-m4' % i, | 112 'hostname': 'vm%d-m4' % i, |
| 115 } for index, i in enumerate(precise_slaves) | 113 } for index, i in enumerate(precise_slaves) |
| 116 ]) | 114 ]) |
| 117 | 115 |
| 118 # Add Ubuntu 12.04 'precise32' slaves. | 116 # Add Ubuntu 12.04 'precise32' slaves. |
| 119 result.extend([ | 117 result.extend([ |
| 120 { | 118 { |
| 121 'master': 'TryServer', | 119 'master': 'TryServer', |
| 122 'os': 'linux', | 120 'os': 'linux', |
| 123 'version': 'precise', | 121 'version': 'precise', |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 499 chromeframe_slave + | 497 chromeframe_slave + |
| 500 gpu_slaves + | 498 gpu_slaves + |
| 501 swarm_slaves + | 499 swarm_slaves + |
| 502 win_tsan_slave + | 500 win_tsan_slave + |
| 503 win_x64_slaves + | 501 win_x64_slaves + |
| 504 swarm_dumb_slaves) | 502 swarm_dumb_slaves) |
| 505 | 503 |
| 506 | 504 |
| 507 slaves = filter(in_service, | 505 slaves = filter(in_service, |
| 508 linux() + mac() + windows() + cros() + android() + ios()) | 506 linux() + mac() + windows() + cros() + android() + ios()) |
| OLD | NEW |