mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 08:53:26 +00:00
Merge pull request #7598 from UnmeshDeodhar/upgrade-bats-version
tests: upgrade bats version
This commit is contained in:
commit
36d53dd2af
@ -47,8 +47,14 @@ function create_cluster() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install_bats() {
|
function install_bats() {
|
||||||
sudo apt-get update
|
# Installing bats from the lunar repo.
|
||||||
sudo apt-get -y install bats
|
# This installs newer version of the bats which supports setup_file and teardown_file functions.
|
||||||
|
# These functions are helpful when adding new tests that require one time setup.
|
||||||
|
|
||||||
|
sudo apt install -y software-properties-common
|
||||||
|
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ lunar universe'
|
||||||
|
sudo apt install -y bats
|
||||||
|
sudo add-apt-repository --remove 'deb http://archive.ubuntu.com/ubuntu/ lunar universe'
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_kubectl() {
|
function install_kubectl() {
|
||||||
|
Loading…
Reference in New Issue
Block a user