File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff 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"}
173175HETZNER_PARALLEL = " ${ PARALLEL_TESTS:-1 } "
174- HETZNER_LOCATION = " ${ HETZNER_LOCATION:-fsn1 } "
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ source ci-automation/vendor_test.sh
1313hetzner_instance_type_var=" HETZNER_${CIA_ARCH} _INSTANCE_TYPE"
1414hetzner_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
@@ -31,7 +34,7 @@ HETZNER_TOKEN=$(curl \
3134# Upload the image on Hetzner.
3235IMAGE_ID=$( ore hetzner \
3336 --hetzner-token=" ${HETZNER_TOKEN} " \
34- --hetzner-location=" ${HETZNER_LOCATION } " \
37+ --hetzner-location=" ${hetzner_location } " \
3538 create-image \
3639 --board=" ${CIA_ARCH} -usr" \
3740 --name flatcar-" ${CIA_VERNUM} " \
@@ -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
You can’t perform that action at this time.
0 commit comments