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

Side by Side Diff: scripts/master/skia/skia_master_utils.py

Issue 2094613002: Don't require a .dbconfig file on any masters. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « scripts/master/master_gen.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 """Skia-specific utilities for setting up build masters.""" 6 """Skia-specific utilities for setting up build masters."""
7 7
8 8
9 from buildbot.changes import filter as change_filter 9 from buildbot.changes import filter as change_filter
10 from buildbot.scheduler import AnyBranchScheduler 10 from buildbot.scheduler import AnyBranchScheduler
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 builder_dict['factory'] = factory 250 builder_dict['factory'] = factory
251 251
252 # Finished! 252 # Finished!
253 c['builders'] = builder_dicts 253 c['builders'] = builder_dicts
254 254
255 255
256 def SetupMaster(ActiveMaster): 256 def SetupMaster(ActiveMaster):
257 # Buildmaster config dict. 257 # Buildmaster config dict.
258 c = {} 258 c = {}
259 259
260 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 260 config.DatabaseSetup(c)
261 261
262 ####### CHANGESOURCES 262 ####### CHANGESOURCES
263 263
264 # Polls config.Master.trunk_url for changes 264 # Polls config.Master.trunk_url for changes
265 poller = GitilesPoller( 265 poller = GitilesPoller(
266 repo_url=ActiveMaster.repo_url, 266 repo_url=ActiveMaster.repo_url,
267 branches=[POLLING_BRANCH], 267 branches=[POLLING_BRANCH],
268 pollInterval=10, 268 pollInterval=10,
269 revlinktmpl='https://skia.googlesource.com/skia/+/%s') 269 revlinktmpl='https://skia.googlesource.com/skia/+/%s')
270 270
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 c['mergeRequests'] = CanMergeBuildRequests 336 c['mergeRequests'] = CanMergeBuildRequests
337 337
338 ###### LOGS 338 ###### LOGS
339 339
340 # Skia bots have been known to have run away builds continously dumping to 340 # Skia bots have been known to have run away builds continously dumping to
341 # stdout and creating ~100GB logs. See crbug.com/589654 for context. 341 # stdout and creating ~100GB logs. See crbug.com/589654 for context.
342 c['logMaxSize'] = 1024 * 1024 * 100 # 100MB 342 c['logMaxSize'] = 1024 * 1024 * 100 # 100MB
343 c['logMaxTailSize'] = 1024 * 32 # 32KB 343 c['logMaxTailSize'] = 1024 * 32 # 32KB
344 344
345 return c 345 return c
OLDNEW
« no previous file with comments | « scripts/master/master_gen.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698