Skip to content

Commit

Permalink
tests: install kata containers components from master
Browse files Browse the repository at this point in the history
build and install kata containers components from master and
run osbuilder tests.

fixes kata-containers#242

Signed-off-by: Julio Montes <[email protected]>
  • Loading branch information
Julio Montes committed Mar 13, 2019
1 parent f9f2d92 commit 35588dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35588dd

Please sign in to comment.