| 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 'chromeos' bot. It must | 8 # This is the buildmaster config file for the 'chromeos' 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 status_header='%(steps)s failed on "%(builder)s"', | 290 status_header='%(steps)s failed on "%(builder)s"', |
| 291 subject='buildbot trooper alert on %(builder)s (%(projectName)s)', | 291 subject='buildbot trooper alert on %(builder)s (%(projectName)s)', |
| 292 extraRecipients=['chrome-troopers@google.com'], | 292 extraRecipients=['chrome-troopers@google.com'], |
| 293 sheriffs=['sheriff'], | 293 sheriffs=['sheriff'], |
| 294 lookup=master_utils.FilterDomain(), | 294 lookup=master_utils.FilterDomain(), |
| 295 use_getname=True)) | 295 use_getname=True)) |
| 296 | 296 |
| 297 if not ActiveMaster.is_production_host: | 297 if not ActiveMaster.is_production_host: |
| 298 # Save our slave pool state. This is populated when our 'slaves' variable | 298 # Save our slave pool state. This is populated when our 'slaves' variable |
| 299 # gets generated. | 299 # gets generated. |
| 300 chromiumos_board_config.slave_allocator.SaveState(list_unallocated=True) | 300 chromiumos_board_config.slave_allocator.SaveState() |
| 301 slave_map = chromiumos_board_config.slave_allocator.GetSlaveMap() | 301 slave_map = chromiumos_board_config.slave_allocator.GetSlaveMap() |
| 302 if slave_map.unallocated: | 302 if slave_map.unallocated: |
| 303 log.msg("The following slaves were not allocated: %s" % ( | 303 log.msg("The following slaves were not allocated: %s" % ( |
| 304 sorted(slave_map.unallocated),)) | 304 sorted(slave_map.unallocated),)) |
| 305 | 305 |
| 306 # Dump the current configuration. | 306 # Dump the current configuration. |
| 307 master_utils.DumpSetup(c) | 307 master_utils.DumpSetup(c) |
| 308 | 308 |
| 309 # Disable 'auto_reboot' on slaves for local testing. | 309 # Disable 'auto_reboot' on slaves for local testing. |
| 310 for builder in c['builders']: | 310 for builder in c['builders']: |
| 311 builder['auto_reboot'] = False | 311 builder['auto_reboot'] = False |
| OLD | NEW |