Skip to content

Commit

Permalink
cmdlib: don't use cache qcow for composes; use virtiofs
Browse files Browse the repository at this point in the history
Now that our OSBuild workflow is using the cache we saw at least one
case where the pipeline was running out of space when composing the
extensions. Since we had a previous proposal [1] to just drop the
cache altogether anyway let's try to at least remove it from the
runcompose functions to eliminate the use of it there anyway.

[1] #3615
  • Loading branch information
dustymabe committed Feb 6, 2024
1 parent e5efc3f commit 31662a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -587,7 +587,7 @@ runcompose_extensions() {
(umask 0022 && sudo -E "$@")
sudo chown -R -h "${USER}":"${USER}" "${outputdir}"
else
runvm_with_cache -- "$@"
runvm -- "$@"
fi
}

Expand Down

0 comments on commit 31662a0

Please sign in to comment.