From 74edbaac967134b52a1d632af0bd93cdab1c5bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 15 Aug 2023 16:24:59 +0200 Subject: [PATCH] gha: kata-deploy: Add run-kata-deploy-tests.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will have the same function as run-k8s-tests.sh has, but for kata-deploy. Right now it doesn't have any tests, and the command to actually run the tests is commented out, but right now this is just a placeholder that will be populated sooner than later. Signed-off-by: Fabiano FidĂȘncio (cherry picked from commit ce6adecd0a28a18e112c62608db73975352a99f5) --- .../kata-deploy/run-kata-deploy-tests.sh | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/functional/kata-deploy/run-kata-deploy-tests.sh diff --git a/tests/functional/kata-deploy/run-kata-deploy-tests.sh b/tests/functional/kata-deploy/run-kata-deploy-tests.sh new file mode 100644 index 000000000..f66206869 --- /dev/null +++ b/tests/functional/kata-deploy/run-kata-deploy-tests.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# +# Copyright (c) 2023 Intel Corporation +# +# SPDX-License-Identifier: Apache-2.0 +# + +set -e + +kata_deploy_dir=$(dirname "$(readlink -f "$0")") +source "${kata_deploy_dir}/../../common.bash" + +if [ -n "${KATA_DEPLOY_TEST_UNION:-}" ]; then + KATA_DEPLOY_TEST_UNION=($KATA_DEPLOY_TEST_UNION) +else + KATA_DEPLOY_TEST_UNION=( \ + ) +fi + +info "Run tests" +for KATA_DEPLOY_TEST_ENTRY in ${KATA_DEPLOY_TEST_UNION[@]} +do + #bats "${KATA_DEPLOY_TEST_ENTRY}" +done