From 519bbe8f6639a1290975835ae475602ab3244d3f Mon Sep 17 00:00:00 2001 From: Julio Montes Date: Mon, 11 Mar 2019 15:14:44 -0600 Subject: [PATCH] tests: remove docker before installing the newer version In some distros docker is already installed and the CI fails because the newer version can't be installed because it conflicts with the old version. Remove old version before installing the newer version of docker. fixes #241 Signed-off-by: Julio Montes --- tests/test_images.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_images.sh b/tests/test_images.sh index ceef790a45..3971ca8a7b 100755 --- a/tests/test_images.sh +++ b/tests/test_images.sh @@ -251,6 +251,7 @@ 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 else info "Running with KATA_DEV_MODE set, skipping installation of docker and kata packages"