Skip to content

Commit 078df79

Browse files
committed
dev: propagate docker image result
1 parent 39173d4 commit 078df79

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

deploy/devspace/dev-install.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,15 @@ if [[ "${MINIKUBE}" == "yes" ]]; then
4242
minikube image rm "${METRICS_EXPORTER_IMAGE}" > /dev/null 2>&1
4343
echo "Build images in minikube"
4444
echo "VERBOSITY=${VERBOSITY} MINIKUBE=yes ${PROJECT_ROOT}/dev/image_build_all_dev.sh"
45-
VERBOSITY="${VERBOSITY}" MINIKUBE=yes "${PROJECT_ROOT}/dev/image_build_all_dev.sh"
45+
if VERBOSITY="${VERBOSITY}" MINIKUBE=yes "${PROJECT_ROOT}/dev/image_build_all_dev.sh"; then
46+
echo "OK. MINIKUBE build successful."
47+
else
48+
echo "########################"
49+
echo "ERROR."
50+
echo "MINIKUBE build has failed."
51+
echo "Abort."
52+
exit 1
53+
fi
4654
;;
4755
esac
4856
fi

dev/image_build_universal.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,15 @@ fi
103103

104104
echo "Docker build command ready:"
105105
echo "${DOCKER_CMD}"
106-
echo "Starting build."
106+
echo "Starting docker image build."
107107
echo "Please, wait..."
108108

109109
if ${DOCKER_CMD}; then
110110
echo "OK. Build successful."
111111
else
112112
echo "########################"
113-
echo "ERROR. Build has failed."
113+
echo "ERROR."
114+
echo "Docker image build has failed."
114115
echo "Abort"
115116
exit 1
116117
fi

0 commit comments

Comments
 (0)