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

Side by Side Diff: masters/master.chromium.gpu.fyi/master.cfg

Issue 1841603002: Enable compression of any gpu.fyi 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 from buildbot.scheduler import Dependent 5 from buildbot.scheduler import Dependent
6 6
7 from common import chromium_utils 7 from common import chromium_utils
8 8
9 from master import gitiles_poller 9 from master import gitiles_poller
10 from master import master_config 10 from master import master_config
11 from master import master_utils 11 from master import master_utils
12 from master import recipe_master_helper 12 from master import recipe_master_helper
13 from master import slaves_list 13 from master import slaves_list
14 from master.factory import annotator_factory 14 from master.factory import annotator_factory
15 15
16 import config 16 import config
17 import master_site_config 17 import master_site_config
18 18
19 ActiveMaster = master_site_config.ChromiumGPUFYI 19 ActiveMaster = master_site_config.ChromiumGPUFYI
20 20
21 # This is the dictionary that the buildmaster pays attention to. We also use 21 # This is the dictionary that the buildmaster pays attention to. We also use
22 # a shorter alias to save typing. 22 # a shorter alias to save typing.
23 c = BuildmasterConfig = {} 23 c = BuildmasterConfig = {}
24 24
25 # Disable compression for the stdio files. 25 # Enable compression for any stdio log file larger than 10 MB.
26 c['logCompressionLimit'] = False 26 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB
27 27
28 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 28 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
29 29
30 ####### CHANGESOURCES 30 ####### CHANGESOURCES
31 31
32 master_poller = gitiles_poller.GitilesPoller( 32 master_poller = gitiles_poller.GitilesPoller(
33 'https://chromium.googlesource.com/chromium/src') 33 'https://chromium.googlesource.com/chromium/src')
34 34
35 c['change_source'] = [master_poller] 35 c['change_source'] = [master_poller]
36 36
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 # Buildbot master url: 99 # Buildbot master url:
100 # Must come before AutoSetupMaster(). 100 # Must come before AutoSetupMaster().
101 c['buildbotURL'] = ActiveMaster.buildbot_url 101 c['buildbotURL'] = ActiveMaster.buildbot_url
102 102
103 # Adds common status and tools to this master. 103 # Adds common status and tools to this master.
104 master_utils.AutoSetupMaster(c, ActiveMaster, 104 master_utils.AutoSetupMaster(c, ActiveMaster,
105 public_html='../master.chromium/public_html', 105 public_html='../master.chromium/public_html',
106 templates=['../master.chromium/templates'], 106 templates=['../master.chromium/templates'],
107 tagComparator=master_poller.comparator, 107 tagComparator=master_poller.comparator,
108 enable_http_status_push=ActiveMaster.is_production_host) 108 enable_http_status_push=ActiveMaster.is_production_host)
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