Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Side by Side Diff: masters/master.chromiumos/master.cfg

Issue 1765583003: Regenerate builder list on restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Update chromiumos.chromium builders. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | masters/master.chromiumos/templates/announce.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 # This gets called by the shim when we need to write the JS file(s). 255 # This gets called by the shim when we need to write the JS file(s).
256 def WriteHTMLFragments(): 256 def WriteHTMLFragments():
257 write_js_json('buildercfg', { 257 write_js_json('buildercfg', {
258 'closers': GetBuilderNames(lambda b: b.closer), 258 'closers': GetBuilderNames(lambda b: b.closer),
259 'paladin': GetBuilderNamesForCategory(ChromiteTarget.PALADIN), 259 'paladin': GetBuilderNamesForCategory(ChromiteTarget.PALADIN),
260 'pfq': GetBuilderNamesForCategory(ChromiteTarget.PFQ), 260 'pfq': GetBuilderNamesForCategory(ChromiteTarget.PFQ),
261 'incremental': GetBuilderNamesForCategory(ChromiteTarget.INCREMENTAL), 261 'incremental': GetBuilderNamesForCategory(ChromiteTarget.INCREMENTAL),
262 'asan': GetBuilderNamesForCategory(ChromiteTarget.ASAN), 262 'asan': GetBuilderNamesForCategory(ChromiteTarget.ASAN),
263 'full': GetBuilderNamesForCategory(ChromiteTarget.FULL), 263 'full': GetBuilderNamesForCategory(ChromiteTarget.FULL),
264 }) 264 })
265 WriteHTMLFragments()
265 266
266 ####### TROOPER NAGGING 267 ####### TROOPER NAGGING
267 if ActiveMaster.is_production_host: 268 if ActiveMaster.is_production_host:
268 from master import chromium_notifier 269 from master import chromium_notifier
269 categories_steps = { 270 categories_steps = {
270 'closer': [ 271 'closer': [
271 'update_scripts', 272 'update_scripts',
272 'Clear and Clone chromite', 273 'Clear and Clone chromite',
273 ] 274 ]
274 } 275 }
275 276
276 if not ActiveMaster.is_production_host: 277 if not ActiveMaster.is_production_host:
277 # Save our slave pool state. This is populated when our 'slaves' variable 278 # Save our slave pool state. This is populated when our 'slaves' variable
278 # gets generated. 279 # gets generated.
279 chromiumos_board_config.slave_allocator.SaveState() 280 chromiumos_board_config.slave_allocator.SaveState()
280 slave_map = chromiumos_board_config.slave_allocator.GetSlaveMap() 281 slave_map = chromiumos_board_config.slave_allocator.GetSlaveMap()
281 if slave_map.unallocated: 282 if slave_map.unallocated:
282 log.msg("The following slaves were not allocated: %s" % ( 283 log.msg("The following slaves were not allocated: %s" % (
283 sorted(slave_map.unallocated),)) 284 sorted(slave_map.unallocated),))
284 285
285 # Disable 'auto_reboot' on slaves for local testing. 286 # Disable 'auto_reboot' on slaves for local testing.
286 for builder in c['builders']: 287 for builder in c['builders']:
287 builder['auto_reboot'] = False 288 builder['auto_reboot'] = False
OLDNEW
« no previous file with comments | « no previous file | masters/master.chromiumos/templates/announce.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698