Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kristian Klausen
arch-boxes
Commits
7d7abf7d
Commit
7d7abf7d
authored
Sep 28, 2020
by
Kristian Klausen
🎉
Browse files
issue 114 test
parent
4010f496
Pipeline
#1932
failed with stages
in 60 minutes and 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7d7abf7d
...
...
@@ -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
...
...
build-inside-vm.sh
View file @
7d7abf7d
...
...
@@ -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
}
"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment