Commit b2a60fd6 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

gitlab-ci.yml: collect qemu boot log


Signed-off-by: Zygmunt Krynicki's avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 1d45604a
Pipeline #7365 failed with stages
in 21 seconds
......@@ -57,6 +57,7 @@ spread:
variables:
# Avoid enabling KVM which may not be available everywhere.
SPREAD_QEMU_KVM: "0"
SPREAD_QEMU_SERIAL: "serial.log"
before_script:
- mkdir -p ~/.spread/qemu
# This is a vanilla Ubuntu Hirsute image generated with:
......@@ -65,13 +66,18 @@ spread:
# image in CI yet, as it requires nested virtualisation.
#
# TODO: cache this image to avoid repeated downloads.
- wget --quiet https://sky.zygoon.pl/~zyga/spread && chmod +x spread
- wget --quiet https://spread.zygoon.pl/ubuntu-21.04-64.img.xz
- unxz *.img.xz
- mv *.img ~/.spread/qemu/
script:
- 'spread -v qemu:'
- './spread -v qemu:'
after_script:
- rm -rf ~/.spread/qemu
artifacts:
when: always
paths:
- serial.log
build:
extends: .go
......
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