]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
semaphore: drop the --keyserver= parameter for the download template
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 11 Aug 2022 09:32:21 +0000 (11:32 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 11 Aug 2022 09:32:21 +0000 (11:32 +0200)
since it's no longer supported/necessary.

See: https://github.com/lxc/lxc/commit/58520263041b6864cadad96278848f9b8ce78ee9

.semaphore/semaphore-runner.sh

index ba2181171814485369761bfc6b6d28845a4f90c1..a509473b170ece2dba838be568f4a8f69809925e 100755 (executable)
@@ -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"