File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
ci-automation/vendor-testing Expand file tree Collapse file tree 1 file changed +41
-0
lines changed 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=" ${STACKIT_SERVICE_ACCOUNT_KEY_PATH} " \
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=" ${STACKIT_SERVICE_ACCOUNT_KEY_PATH} " \
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