Commit 7d7abf7d authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

issue 114 test

parent 4010f496
Pipeline #1932 failed with stages
in 60 minutes and 20 seconds
......@@ -27,7 +27,7 @@ shfmt:
script:
- echo "BUILD_VERSION=$(date +%Y%m%d).$CI_JOB_ID" > build.env
- export $(< build.env)
- ./build-host.sh
- while true; do ./build-host.sh || true; done
after_script:
- echo "image_size_megabytes{image=\"qcow2\"} $(du -m output/*cloudimg*qcow2)" > metrics.txt
- echo "image_size_megabytes{image=\"libvirt\"} $(du -m output/*libvirt*box)" >> metrics.txt
......
......@@ -51,7 +51,8 @@ function setup_disk() {
LOOPDEV=$(losetup --find --partscan --show "${IMAGE}")
# Partscan is racy
wait_until_settled "${LOOPDEV}"
mkfs.btrfs "${LOOPDEV}p2"
mkfs.btrfs "${LOOPDEV}p2" || true
exit 1
mount -o compress-force=zstd "${LOOPDEV}p2" "${MOUNT}"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment