From c5d9169812e99ea83c364e457510feb54118bc20 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hack/ci-e2e.sh b/hack/ci-e2e.sh index c7d67b888e..4dff7dfa14 100755 --- a/hack/ci-e2e.sh +++ b/hack/ci-e2e.sh @@ -43,7 +43,11 @@ 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 +rm /tmp/bmo-e2e.tar # Create libvirt domain VM_NAME="bmo-e2e-0"