From bc68f03f9fbc9e3d17ef152b21aed67ff7e6de45 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 6 Feb 2024 16:00:18 -0500 Subject: [PATCH] cmdlib: don't use cache qcow for composes; use virtiofs Now that our OSBuild workflow is using the cache we saw at least one case where the pipeline was running out of space. Since we had a previous proposal [1] to just drop the cahce altogether anyway let's try to at least remove it from the runcompose functions to eliminate the use of it there anyway. [1] https://github.com/coreos/coreos-assembler/pull/3615 --- src/cmdlib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmdlib.sh b/src/cmdlib.sh index 8d28610ef5..3cbad3e06b 100755 --- a/src/cmdlib.sh +++ b/src/cmdlib.sh @@ -563,7 +563,7 @@ runcompose_tree() { (umask 0022 && sudo -E "$@") sudo chown -R -h "${USER}":"${USER}" "${tmprepo}" else - runvm_with_cache -- "$@" --repo "${repo}" --write-composejson-to "${composejson}" + runvm -- "$@" --repo "${repo}" --write-composejson-to "${composejson}" fi } @@ -587,7 +587,7 @@ runcompose_extensions() { (umask 0022 && sudo -E "$@") sudo chown -R -h "${USER}":"${USER}" "${outputdir}" else - runvm_with_cache -- "$@" + runvm -- "$@" fi }