Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(minikube): report every missing image in --verify-only

Jose Ramireza3b6c4735e05
diff --git a/scripts/minikube/build-images.sh b/scripts/minikube/build-images.sh
index 55d9573c3..e1a55a246 100755
--- a/scripts/minikube/build-images.sh
+++ b/scripts/minikube/build-images.sh
@@ -393,7 +393,11 @@ if [ "$VERIFY_ONLY" = true ]; then
sha=$(minikube_image_id "$img")
if [ "$sha" = "NOT_FOUND" ]; then
err "MISSING: ${img}"
- ((fail_count++))
+ # NOT ((fail_count++)): post-increment evaluates to the OLD value, so the
+ # first miss (0) makes the arithmetic command exit 1 and `set -e` aborts
+ # the loop. That reports ONE missing image when several are missing, and
+ # sends you round the pull/verify loop once per image.
+ fail_count=$((fail_count + 1))
else
ok "${img} (${sha:7:12})"
fi