summaryrefslogtreecommitdiff
path: root/semaphoreci
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2019-09-06 13:11:38 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2019-09-06 16:18:59 +0300
commit338009e0db675aec98fdd88f42e6f2279a1b518e (patch)
treeb9a90f0ac7915402b3e8c76367ee7128dd98f635 /semaphoreci
parenta95686bb5d615a73a14d451a25225a566f9af570 (diff)
downloadsystemd-338009e0db675aec98fdd88f42e6f2279a1b518e.tar.gz
semaphore: switch to another keyserver
lxc-create has been failing to download the image today with ``` + sudo lxc-create -n buster-amd64 -t download -- -d debian -r buster -a amd64 Setting up the GPG keyring ERROR: Unable to fetch GPG key from keyserver lxc-create: buster-amd64: lxccontainer.c: create_run_template: 1617 Failed to create container from template lxc-create: buster-amd64: tools/lxc_create.c: main: 327 Failed to create container buster-amd64 ``` Let's try another keyserver.
Diffstat (limited to 'semaphoreci')
-rwxr-xr-xsemaphoreci/semaphore-runner.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/semaphoreci/semaphore-runner.sh b/semaphoreci/semaphore-runner.sh
index ba0ce21b59..184134e6a3 100755
--- a/semaphoreci/semaphore-runner.sh
+++ b/semaphoreci/semaphore-runner.sh
@@ -18,7 +18,7 @@ create_container() {
# create autopkgtest LXC image; this sometimes fails with "Unable to fetch
# GPG key from keyserver", so retry a few times
for retry in $(seq 5); do
- sudo lxc-create -n $CONTAINER -t download -- -d $DISTRO -r $RELEASE -a $ARCH && break
+ sudo lxc-create -n $CONTAINER -t download -- -d $DISTRO -r $RELEASE -a $ARCH --keyserver hkp://keyserver.ubuntu.com:80 && break
sleep $((retry*retry))
done