phase1,phase2: add file space usage reporting
authorPetr Štetiar <ynezz@true.cz>
Thu, 25 Mar 2021 08:54:49 +0000 (09:54 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 25 Mar 2021 08:54:49 +0000 (09:54 +0100)
Add `du` step so it's clear how much space was used by the build.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
phase1/master.cfg
phase2/master.cfg

index a1f7deae69f4ca5983866f9ea7e6c99fbdc16232..a85382ae4fd2ee52d0d102fc90be7f721a2dfe86 100644 (file)
@@ -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",
index b5050e578cf2c8909e5d2eba1ef09b3ce225e312..b9342cfc557a907d6a9728c6871398e06b04c58a 100644 (file)
@@ -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] ]))