From c57bd1dd018fa6e35eba03801fded42ed15f1e0b Mon Sep 17 00:00:00 2001 From: Lennart Jern Date: Fri, 1 Mar 2024 08:17:34 +0200 Subject: [PATCH] E2E: Workaround issue with minikube image load There is a bug in the new docker release that affects minikube image load. While we wait for a new minikube release, we can work around the issue by exporting the image to an archive and load it from there instead. Signed-off-by: Lennart Jern --- hack/ci-e2e.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/ci-e2e.sh b/hack/ci-e2e.sh index f125df3a93..8e80e1a7bb 100755 --- a/hack/ci-e2e.sh +++ b/hack/ci-e2e.sh @@ -58,7 +58,10 @@ minikube stop minikube start # Load the BMO e2e image into it -minikube image load quay.io/metal3-io/baremetal-operator:e2e +# minikube image load quay.io/metal3-io/baremetal-operator:e2e +# Temporary workaround for https://github.com/kubernetes/minikube/issues/18021 +docker image save -o /tmp/bmo-e2e.tar quay.io/metal3-io/baremetal-operator:e2e +minikube image load /tmp/bmo-e2e.tar # This IP is defined by the network we created above. IP_ADDRESS="192.168.222.1"