Skip to content

Commit 4787fbf

Browse files
committed
hetzner: use different locations for arm64/amd64
Hetzner is having some capacity issues[^1]: - amd64: CPX plans (CPX11 to CPX51) - Falkenstein (FSN) and Nuremberg (NBG) - arm64: CAX plans (CAX11 to CAX41) - Helsinki (HEL) and Nuremberg (NBG) Let's switch the location: * Helsinki (hel1) for amd64 * Keep Falkenstein (fsn1) for arm64 [^1]: https://status.hetzner.com/incident/aa5ce33b-faa5-4fd0-9782-fde43cd270cf Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
1 parent f973598 commit 4787fbf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ci-automation/ci-config.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,6 @@ BRIGHTBOX_PARALLEL="${PARALLEL_TESTS:-1}"
170170
: ${HETZNER_IMAGE_NAME:='flatcar_production_hetzner_image.bin.bz2'}
171171
: ${HETZNER_amd64_INSTANCE_TYPE:="cpx11"}
172172
: ${HETZNER_arm64_INSTANCE_TYPE:="cax11"}
173+
: ${HETZNER_arm64_LOCATION:="fsn1"}
174+
: ${HETZNER_amd64_LOCATION:="hel1"}
173175
HETZNER_PARALLEL="${PARALLEL_TESTS:-1}"
174-
HETZNER_LOCATION="${HETZNER_LOCATION:-fsn1}"

ci-automation/vendor-testing/hetzner.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ source ci-automation/vendor_test.sh
1313
hetzner_instance_type_var="HETZNER_${CIA_ARCH}_INSTANCE_TYPE"
1414
hetzner_instance_type="${!hetzner_instance_type_var}"
1515

16+
hetzner_location_var="HETZNER_${CIA_ARCH}_LOCATION"
17+
hetzner_location="${!hetzner_location_var}"
18+
1619
# HETZNER_TPS_TOKEN should be provided by sdk_container/.env
1720

1821
# We first need to create a temporary project using HETZNER_TPS_TOKEN
@@ -51,7 +54,7 @@ timeout --signal=SIGQUIT 2h kola run \
5154
--platform=hetzner \
5255
--hetzner-token="${HETZNER_TOKEN}" \
5356
--hetzner-server-type="${hetzner_instance_type}" \
54-
--hetzner-location="${HETZNER_LOCATION}" \
57+
--hetzner-location="${hetzner_location}" \
5558
--hetzner-image=${IMAGE_ID} \
5659
"${@}"
5760

0 commit comments

Comments
 (0)