Skip to content

Commit

Permalink
E2E: Workaround issue with minikube image load
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lentzi90 authored and metal3-io-bot committed Mar 4, 2024
1 parent 61a5e39 commit c5d9169
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hack/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c5d9169

Please sign in to comment.