diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-11 11:32:21 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-11 11:32:21 +0200 |
commit | 8162feac1017eeddf69049ef75abaa7a51043b23 (patch) | |
tree | 3891e00c9f8d9a6af86da69874495d6f38841248 /.semaphore | |
parent | resolvctl: only remove protocol after last dot when mangling ifname for resol... (diff) | |
download | systemd-8162feac1017eeddf69049ef75abaa7a51043b23.tar.xz systemd-8162feac1017eeddf69049ef75abaa7a51043b23.zip |
semaphore: drop the --keyserver= parameter for the download template
since it's no longer supported/necessary.
See: https://github.com/lxc/lxc/commit/58520263041b6864cadad96278848f9b8ce78ee9
Diffstat (limited to '.semaphore')
-rwxr-xr-x | .semaphore/semaphore-runner.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh index ba21811718..a509473b17 100755 --- a/.semaphore/semaphore-runner.sh +++ b/.semaphore/semaphore-runner.sh @@ -19,14 +19,7 @@ PHASES=(${@:-SETUP RUN}) UBUNTU_RELEASE="$(lsb_release -cs)" create_container() { - # Create autopkgtest LXC image; this sometimes fails with "Unable to fetch - # GPG key from keyserver", so retry a few times with different keyservers. - for keyserver in "keys.openpgp.org" "" "keyserver.ubuntu.com" "keys.gnupg.net"; do - for retry in {1..5}; do - sudo lxc-create -n "$CONTAINER" -t download -- -d "$DISTRO" -r "$RELEASE" -a "$ARCH" ${keyserver:+--keyserver "$keyserver"} && break 2 - sleep $((retry*retry)) - done - done + sudo lxc-create -n "$CONTAINER" -t download -- -d "$DISTRO" -r "$RELEASE" -a "$ARCH" # unconfine the container, otherwise some tests fail echo 'lxc.apparmor.profile = unconfined' | sudo tee -a "/var/lib/lxc/$CONTAINER/config" |