From 822f89843395b47cbec629a2764afb62cff4351a Mon Sep 17 00:00:00 2001 From: Sumedh Alok Sharma Date: Wed, 11 Sep 2024 10:57:12 +0530 Subject: [PATCH] ci: Install bats as dependencies Install bats as part of dependencies for running the tests. Signed-off-by: Sumedh Alok Sharma --- tests/functional/kata-agent-apis/gha-run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/functional/kata-agent-apis/gha-run.sh b/tests/functional/kata-agent-apis/gha-run.sh index b46540fa2d..8ff12571c5 100755 --- a/tests/functional/kata-agent-apis/gha-run.sh +++ b/tests/functional/kata-agent-apis/gha-run.sh @@ -11,6 +11,7 @@ set -o pipefail kata_tarball_dir="${2:-kata-artifacts}" kata_agent_apis_dir="$(dirname "$(readlink -f "$0")")" source "${kata_agent_apis_dir}/../../common.bash" +source "${kata_agent_apis_dir}/../../gha-run-k8s-common.sh" function install_dependencies() { info "Installing dependencies needed for testing individual agent apis using agent-ctl" @@ -23,6 +24,9 @@ function install_dependencies() { sudo apt-get update sudo apt-get -y install "${deps[@]}" + + info "Installing bats" + install_bats } function run() {