diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-10-20 12:39:25 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-10-20 12:39:25 +0200 |
commit | 9ac47d926146ed177aef805bba75f07bd3ed8643 (patch) | |
tree | c927fbd2e6b2cd1889f8227bffeba361aad8cf53 /semaphoreci | |
parent | semaphore: try to use different keyservers (diff) | |
download | systemd-9ac47d926146ed177aef805bba75f07bd3ed8643.tar.xz systemd-9ac47d926146ed177aef805bba75f07bd3ed8643.zip |
semaphore: temporarily explicitly use the US image mirror
The UK one contains an incorrectly signed index file, causing the CI to
fail.
Diffstat (limited to 'semaphoreci')
-rwxr-xr-x | semaphoreci/semaphore-runner.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/semaphoreci/semaphore-runner.sh b/semaphoreci/semaphore-runner.sh index cbcd38d65e..715a5aafb1 100755 --- a/semaphoreci/semaphore-runner.sh +++ b/semaphoreci/semaphore-runner.sh @@ -20,7 +20,7 @@ create_container() { # GPG key from keyserver", so retry a few times with different keyservers. for keyserver in "" "keys.gnupg.net" "keys.openpgp.org" "keyserver.ubuntu.com"; 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 + sudo lxc-create -n $CONTAINER -t download -- -d $DISTRO -r $RELEASE -a $ARCH --server us.images.linuxcontainers.org ${keyserver:+--keyserver "$keyserver"} && break 2 sleep $((retry*retry)) done done |