From 67421002c94556c117e43a4e2735b493c0401d5c Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 29 Jan 2024 09:24:52 +0100 Subject: [PATCH] Remove buildx cache after each build --- ci-scripts/cls_containerize.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci-scripts/cls_containerize.py b/ci-scripts/cls_containerize.py index 69dfd1122f..6c47787250 100644 --- a/ci-scripts/cls_containerize.py +++ b/ci-scripts/cls_containerize.py @@ -507,6 +507,9 @@ class Containerize(): # Remove all intermediate build images and clean up cmd.run(f"{self.cli} image rm ran-build:{imageTag} ran-build-asan:{imageTag}") cmd.run(f"{self.cli} volume prune --force") + # Remove any cached artifacts: we don't use the cache for now, prevent + # out of diskspace problem + cmd.run(f"{self.cli} buildx prune --force") # create a zip with all logs build_log_name = f'build_log_{self.testCase_id}'