Skip to content

Commit

Permalink
cmdlib: bump cache size to 30G
Browse files Browse the repository at this point in the history
With us now building more in OSBuild in a single run [1] we need
a larger cache2.qcow2 to hold more pipeline outputs concurrently.

[1] coreos/fedora-coreos-pipeline#1055
  • Loading branch information
dustymabe committed Nov 14, 2024
1 parent 269cc85 commit 7bfeb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ runcompose_extensions() {
# the cache disk. `runvm_with_cache_snapshot on` will set snapshotting to on.
runvm_with_cache_snapshot() {
local snapshot=$1; shift
local cache_size=${RUNVM_CACHE_SIZE:-20G}
local cache_size=${RUNVM_CACHE_SIZE:-30G}
# "cache2" has an explicit label so we can find it in qemu easily
if [ ! -f "${workdir}"/cache/cache2.qcow2 ]; then
qemu-img create -f qcow2 cache2.qcow2.tmp "$cache_size"
Expand Down

0 comments on commit 7bfeb1f

Please sign in to comment.