File tree Expand file tree Collapse file tree 4 files changed +48
-0
lines changed
Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -179,3 +179,7 @@ HETZNER_PARALLEL="${PARALLEL_TESTS:-1}"
179179AKAMAI_PARALLEL = " ${ PARALLEL_TESTS:-1 } "
180180AKAMAI_REGION = " us-ord"
181181AKAMAI_INSTANCE_TYPE = " g6-standard-2"
182+
183+ # -- STACKIT --
184+ STACKIT_PARALLEL = " ${ PARALLEL_TESTS:-1 } "
185+ STACKIT_IMAGE_NAME = " flatcar_production_stackit_image.img"
Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ function _garbage_collect_impl() {
264264 --env OPENSTACK_CREDS \
265265 --env BRIGHTBOX_CLIENT_ID --env BRIGHTBOX_CLIENT_SECRET \
266266 --env AKAMAI_TOKEN \
267+ --env STACKIT_SERVICE_ACCOUNT \
267268 -w /work -v " $PWD " :/work " ${mantle_ref} " /work/ci-automation/garbage_collect_cloud.sh
268269
269270 echo
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ timeout --signal=SIGQUIT 60m ore brightbox gc --duration 6h \
1313 --brightbox-client-id=" ${BRIGHTBOX_CLIENT_ID} " --brightbox-client-secret=" ${BRIGHTBOX_CLIENT_SECRET} "
1414timeout --signal=SIGQUIT 60m ore akamai gc --duration 6h \
1515 --akamai-token=" ${AKAMAI_TOKEN} "
16+ timeout --signal=SIGQUIT 60m ore stackit gc --duration 6h \
17+ --stackit-service-account-key-path=<( echo " ${STACKIT_SERVICE_ACCOUNT} " | base64 --decode)
1618secret_to_file aws_credentials_config_file " ${AWS_CREDENTIALS} "
1719for channel in alpha beta stable lts; do
1820 for arch in amd64 arm64; do
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright (c) 2025 The Flatcar Maintainers.
3+ # Use of this source code is governed by a BSD-style license that can be
4+ # found in the LICENSE file.
5+
6+ set -euo pipefail
7+
8+ # Test execution script for STACKIT vendor.
9+ # This script is supposed to run in the mantle container.
10+
11+ source ci-automation/vendor_test.sh
12+
13+ copy_from_buildcache " images/${CIA_ARCH} /${CIA_VERNUM} /${STACKIT_IMAGE_NAME} " .
14+
15+ kola_test_basename=" ci-${CIA_VERNUM// [+.]/ -} "
16+
17+ # Upload the image on STACKIT.
18+ IMAGE_ID=$( ore stackit \
19+ --stackit-service-account-key-path=<( echo " ${STACKIT_SERVICE_ACCOUNT} " | base64 --decode) \
20+ --stackit-project-id=" ${STACKIT_PROJECT_ID} " \
21+ create-image \
22+ --name " ${kola_test_basename} " \
23+ --file=" ${STACKIT_IMAGE_NAME} "
24+ )
25+
26+ set -x
27+
28+ timeout --signal=SIGQUIT 2h kola run \
29+ --board=" ${CIA_ARCH} -usr" \
30+ --parallel=" ${STACKIT_PARALLEL} " \
31+ --tapfile=" ${CIA_TAPFILE} " \
32+ --channel=" ${CIA_CHANNEL} " \
33+ --basename=" ${kola_test_basename} " \
34+ --platform=stackit \
35+ --stackit-service-account-key-path=<( echo " ${STACKIT_SERVICE_ACCOUNT} " | base64 --decode) \
36+ --stackit-project-id=" ${STACKIT_PROJECT_ID} " \
37+ --stackit-image-id=" ${STACKIT_IMAGE_ID} " \
38+ --image-version " ${CIA_VERNUM} " \
39+ " ${@ } "
40+
41+ set +x
You can’t perform that action at this time.
0 commit comments