Merge pull request #243 from devimc/topic/testMaster

tests: install kata components from master
This commit is contained in:
Salvador Fuentes
2019-03-13 13:04:41 -06:00
committed by GitHub

View File

@@ -251,8 +251,9 @@ setup()
[ ! -d "${tests_repo_dir}" ] && git clone "https://${tests_repo}" "${tests_repo_dir}"
if [ -z "${KATA_DEV_MODE:-}" ]; then
chronic $mgr remove-docker
chronic $mgr install-docker-system
"${tests_repo_dir}/.ci/setup.sh"
mkdir -p /etc/kata-containers/
sudo cp -a /usr/share/defaults/kata-containers/configuration.toml /etc/kata-containers/configuration.toml
else
info "Running with KATA_DEV_MODE set, skipping installation of docker and kata packages"
# Make sure docker & kata are available