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

Side by Side Diff: masters/master.chromium.perf/master.cfg

Issue 1831373004: Enable compression of any perf logs greater than 10 MB. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | 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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 # This is the buildmaster config file for the 'chromium.perf' bot. It must 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must
6 # be installed as 'master.cfg' in your buildmaster's base directory 6 # be installed as 'master.cfg' in your buildmaster's base directory
7 # (although the filename can be changed with the --basedir option to 7 # (although the filename can be changed with the --basedir option to
8 # 'mktap buildbot master'). 8 # 'mktap buildbot master').
9 9
10 # It has one job: define a dictionary named BuildmasterConfig. This 10 # It has one job: define a dictionary named BuildmasterConfig. This
(...skipping 27 matching lines...) Expand all
38 38
39 39
40 # This is the dictionary that the buildmaster pays attention to. We also use 40 # This is the dictionary that the buildmaster pays attention to. We also use
41 # a shorter alias to save typing. 41 # a shorter alias to save typing.
42 c = BuildmasterConfig = {} 42 c = BuildmasterConfig = {}
43 43
44 # 'slavePortnum' defines the TCP port to listen on. This must match the value 44 # 'slavePortnum' defines the TCP port to listen on. This must match the value
45 # configured into the buildslaves (with their --master option) 45 # configured into the buildslaves (with their --master option)
46 c['slavePortnum'] = ActiveMaster.slave_port 46 c['slavePortnum'] = ActiveMaster.slave_port
47 47
48 # Disable compression for the stdio files. 48 # Enable compression for any stdio log file larger than 10 MB.
49 c['logCompressionLimit'] = False 49 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB
50 50
51 # Load the list of slaves. 51 # Load the list of slaves.
52 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerf') 52 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerf')
53 53
54 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 54 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
55 55
56 def recipe_factory(recipe): 56 def recipe_factory(recipe):
57 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) 57 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster)
58 return f_annotations.BaseFactory(recipe=recipe) 58 return f_annotations.BaseFactory(recipe=recipe)
59 59
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 ####### PROJECT IDENTITY 250 ####### PROJECT IDENTITY
251 251
252 # the 'projectName' string will be used to describe the project that this 252 # the 'projectName' string will be used to describe the project that this
253 # buildbot is working on. For example, it is used as the title of the 253 # buildbot is working on. For example, it is used as the title of the
254 # waterfall HTML page. The 'projectURL' string will be used to provide a link 254 # waterfall HTML page. The 'projectURL' string will be used to provide a link
255 # from buildbot HTML pages to your project's home page. 255 # from buildbot HTML pages to your project's home page.
256 256
257 c['projectName'] = ActiveMaster.project_name 257 c['projectName'] = ActiveMaster.project_name
258 c['projectURL'] = config.Master.project_url 258 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698