mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-24 10:41:43 +00:00
ci: Install bats as dependencies
Install bats as part of dependencies for running the tests. Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com>
This commit is contained in:
parent
2c774fb207
commit
822f898433
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user