From 34779491e059ca67750ad3ffd1a5c596b6acfe41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 13 Jul 2023 12:38:46 +0200 Subject: [PATCH] gha: kubernetes: Avoid declaring repo_root_dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is already declared as part of the `common.bash` file, so let's just make sure we use it from there. Signed-off-by: Fabiano FidĂȘncio --- tests/integration/kubernetes/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/kubernetes/setup.sh b/tests/integration/kubernetes/setup.sh index 213397f83b..01e7d8c51a 100755 --- a/tests/integration/kubernetes/setup.sh +++ b/tests/integration/kubernetes/setup.sh @@ -8,7 +8,7 @@ set -o nounset set -o pipefail kubernetes_dir=$(dirname "$(readlink -f "$0")") -repo_root_dir="$(cd "${kubernetes_dir}/../../../" && pwd)" +source "${kubernetes_dir}/../../common.bash" set_runtime_class() { sed -i -e "s|runtimeClassName: kata|runtimeClassName: kata-${KATA_HYPERVISOR}|" ${kubernetes_dir}/runtimeclass_workloads/*.yaml