From: Petr Štetiar Date: Thu, 25 Mar 2021 08:54:49 +0000 (+0100) Subject: phase1,phase2: add file space usage reporting X-Git-Tag: v1~19 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c7df883d1cd908b7da681b9d3283a6293f989172;p=buildbot.git phase1,phase2: add file space usage reporting Add `du` step so it's clear how much space was used by the build. Signed-off-by: Petr Štetiar --- diff --git a/phase1/master.cfg b/phase1/master.cfg index a1f7dea..a85382a 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -1380,6 +1380,17 @@ for target in targets: alwaysRun = True )) + factory.addStep(ShellCommand( + name = "du", + description = "Reporting estimated file space usage", + command=["du", "-sh", "."], + env={'LC_ALL': 'C'}, + haltOnFailure = False, + flunkOnFailure = False, + warnOnFailure = False, + alwaysRun = True + )) + factory.addStep(ShellCommand( name = "ccachestat", description = "Reporting ccache stats", diff --git a/phase2/master.cfg b/phase2/master.cfg index b5050e5..b9342cf 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -763,6 +763,17 @@ for arch in arches: alwaysRun = True )) + factory.addStep(ShellCommand( + name = "du", + description = "Reporting estimated file space usage", + command=["du", "-sh", "."], + env={'LC_ALL': 'C'}, + haltOnFailure = False, + flunkOnFailure = False, + warnOnFailure = False, + alwaysRun = True + )) + c['builders'].append(BuilderConfig(name=arch[0], workernames=workerNames, factory=factory)) c['schedulers'].append(schedulers.Triggerable(name="trigger_%s" % arch[0], builderNames=[ arch[0] ]))