Skip to content

Commit

Permalink
buildbot: add janitor that removes older build logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls committed Nov 14, 2024
1 parent 3986c76 commit c7a72da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/buildbot/files/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# https://docs.buildbot.net/3.6.0/manual/configuration/builders.html
#

from datetime import timedelta
from config import config

from buildbot.plugins import *
Expand All @@ -39,6 +40,12 @@ c['db'] = {'db_url': config['dbURL']}
c['protocols'] = {'pb': {'port': config['pbPort']}}
c['workers'] = [worker.Worker(w[0], w[1]) for w in config['workers']]

c['configurators'] = [util.JanitorConfigurator(
logHorizon=timedelta(weeks=4),
hour=6,
minute=0,
)]

c['www'] = dict(port=config['wwwPort'],
plugins=dict(waterfall_view={}, console_view={}, grid_view={}),
change_hook_dialects={
Expand Down

0 comments on commit c7a72da

Please sign in to comment.