Commit 0821c972 authored by Benjamin Tissoires's avatar Benjamin Tissoires
Browse files

Use qemu-user-static from buster-backports



Requested by @MrCooper as the current version segfaults with
Debian bullseye arm64 libc.

Signed-off-by: Benjamin Tissoires's avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
parent f6bd36ff
......@@ -138,7 +138,7 @@ def add_gitlab_runner(instance_name, registration_token, concurrent):
# needed for helper-image bootstrapping
cloud_init['packages'].extend(['binutils', 'binutils-x86-64-linux-gnu', 'binutils-common', 'cdebootstrap', 'gettext-base'])
# support qemu for cross-arch building
cloud_init['packages'].extend(['binfmt-support', 'qemu-user-static'])
cloud_init['packages'].extend(['binfmt-support', 'qemu-user-static/buster-backports'])
cloud_init['runcmd'].extend([
f'gitlab-runner register --name {instance_name} --non-interactive --limit {concurrent} --request-concurrency 1 --executor docker --docker-image alpine:latest --docker-privileged --docker-devices /dev/kvm --docker-volumes "/var/cache/gitlab-runner/cache:/cache" --registration-token {registration_token} --env "DOCKER_TLS_CERTDIR=" --env "FDO_CI_CONCURRENT={concurrent}" --tag-list "kvm,packet.net" --url https://gitlab.freedesktop.org',
f'sed -e "s/^concurrent = 1/concurrent = {concurrent}/;" -i /etc/gitlab-runner/config.toml',
......
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