ci: push ceph/ceph container image into minikube

Deploying Ceph with Rook fails as the ceph/ceph:v15 base image can not
be pulled from within the minikube VM. By pushing the image into the VM,
but before deploying Rook, there should be no need to pull the image
from Docker Hub anymore.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-11-25 18:13:12 +01:00 committed by mergify[bot]
parent 5db647ba64
commit 7384683af2

View File

@ -135,6 +135,12 @@ then
./podman2minikube.sh "rook/ceph:${ROOK_VERSION}"
fi
# Rook also uses ceph/ceph:v15 (build.env:BASE_IMAGE), so push it into the VM
if [ -n "${BASE_IMAGE}" ] && podman inspect "${BASE_IMAGE}" > /dev/null
then
./podman2minikube.sh "${BASE_IMAGE}"
fi
deploy_rook
# running e2e.test requires librados and librbd