Skip to content

Commit c0b4fef

Browse files
committed
Use a different PGP keyserver for OpenSSL PGP keys
Certain keyservers fail seasonally & intermittently - every few months one stops working reliabley - so then we alternate between them. Last time we had this problem, pgpkeys.eu was failing, and now pgpkeys.uk seems to be failing and resulting in flaky builds: https://github.com/rabbitmq/rabbitmq-server/runs/2663558141?check_suite_focus=true Trying pgpkeys.eu now, and preparing to go to the Ubuntu one next if this one proves to not be as reliable as we would like it to be. As a different approach, I am wondering if we should store these PGP keys somewhere instead? WDYT @dumbbell? Thanks @pjk25 for flagging this! Signed-off-by: Gerhard Lazu <[email protected]>
1 parent a6f70b8 commit c0b4fef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packaging/docker-image/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,16 @@ endif
3535
OTP_VERSION ?= 23.2.4
3636
OTP_SHA256 ?= e72aa084907e0f34f932cf00caa33aba93147b0a7c9c35569d6bd1c402f532de
3737
REPO ?= pivotalrabbitmq/rabbitmq
38+
PGP_KEYSERVER ?= pgpkeys.eu
39+
ALT1_PGP_KEYSERVER ?= keyserver.ubuntu.com
40+
ALT2_PGP_KEYSERVER ?= pgpkeys.uk
3841

3942
all: dist
4043

4144
dist:
4245
xzcat $(GENERIC_UNIX_ARCHIVE) | tar xvf -
4346
docker build --pull \
44-
--build-arg PGP_KEYSERVER=pgpkeys.uk \
47+
--build-arg PGP_KEYSERVER=$(PGP_KEYSERVER) \
4548
--build-arg OTP_VERSION=$(OTP_VERSION) \
4649
--build-arg OTP_SHA256=$(OTP_SHA256) \
4750
--build-arg RABBITMQ_BUILD=rabbitmq_server-$(VERSION) \

0 commit comments

Comments
 (0)