From 2b9013473a60352b0ef280e4b49a6b3539b10fb1 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Wed, 18 Sep 2024 11:50:00 +0200 Subject: [PATCH] improve e2e script to not fail --- scripts/e2e_setup_mcgh.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/e2e_setup_mcgh.sh b/scripts/e2e_setup_mcgh.sh index 1e6a5e87..cf85e3db 100755 --- a/scripts/e2e_setup_mcgh.sh +++ b/scripts/e2e_setup_mcgh.sh @@ -21,6 +21,7 @@ function initKinDCluster() { function pushInventoryImageKind() { clusterName="$1" + rm -f inventory-api.tar ${DOCKER} build --arch amd64 . -t localhost/inventory-api:latest ${DOCKER} save -o inventory-api.tar localhost/inventory-api:latest kind load image-archive inventory-api.tar --name "$clusterName"