From bf03ec2a261131913a642e95c41fded1a0203b22 Mon Sep 17 00:00:00 2001 From: Jorrit Wronski Date: Sun, 13 Mar 2016 12:19:40 +0100 Subject: [PATCH] Introducing limits for build logs to save disk space --- dev/buildbot/master/master.cfg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dev/buildbot/master/master.cfg b/dev/buildbot/master/master.cfg index d1f9a97e0d..505c36832d 100644 --- a/dev/buildbot/master/master.cfg +++ b/dev/buildbot/master/master.cfg @@ -47,6 +47,25 @@ mn = mail.MailNotifier(fromaddr="buildbot@coolprop.dreamhosters.com", c['status'].append(mn) + +####### HOUSEKEEPING AND DISK SPACE + +# By default, buildbot stores information on all previous builds and we +# hardly consult these data for debugging purposes - at least not the +# historical build logs. These settings help to save some disk space on +# worker (slave) machines and on the master. +# http://docs.buildbot.net/current/manual/cfg-global.html#data-lifetime +c['changeHorizon'] = 80 # Number of change records on master +c['buildHorizon'] = 40 # Number of builds for each builder which should be kept on disk +c['eventHorizon'] = 25 # Number of events to keep (mostly connections and disconnections of slaves) +c['logHorizon'] = 40 # Number of builds for which logs should be maintained +c['buildCacheSize'] = 10 # Number of builds for each builder which are cached in memory. +# This number should be larger than the number of builds required for commonly-used status +# displays (the waterfall or grid views), so that those displays do not miss the cache on a refresh. + + + + ####### BUILDSLAVES # The 'slaves' list defines the set of recognized buildslaves. Each element is