Verified Commit 3bda5b26 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Use new experimental VM runners[1] for building

A VM with KVM acceleration is much faster than TCG, and the current
setup somehow broke again :/

[1] infrastructure!385
parent 1296e0db
Pipeline #11507 passed with stages
in 9 minutes and 44 seconds
......@@ -26,7 +26,7 @@ shfmt:
.build:
stage: build
before_script:
- pacman -Syu --needed --noconfirm qemu-headless libisoburn
- pacman -Syu --needed --noconfirm gptfdisk arch-install-scripts qemu-headless jq
script:
- |
# If we're building a tagged release, use the tag (without the 'v' prefix) as the
......@@ -37,7 +37,7 @@ shfmt:
echo "BUILD_VERSION=$(date +%Y%m%d).$CI_JOB_ID" > build.env
fi
- export $(< build.env)
- ./build-host.sh
- ./build-inside-vm.sh
after_script:
- echo "image_size_megabytes{image=\"basic\"} $(du -m output/*basic*qcow2)" > metrics.txt
- echo "image_size_megabytes{image=\"cloudimg\"} $(du -m output/*cloudimg*qcow2)" > metrics.txt
......@@ -55,7 +55,7 @@ shfmt:
build:
extends: .build
tags:
- fast-single-thread
- vm
except:
- master@archlinux/arch-boxes
- schedules@archlinux/arch-boxes
......@@ -65,6 +65,7 @@ build:secure:
extends: .build
tags:
- secure
- vm
only:
- master@archlinux/arch-boxes
- schedules@archlinux/arch-boxes
......
Markdown is supported
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