Skip to content

Commit

Permalink
dev: propagate docker image result
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsingerus committed Apr 11, 2024
1 parent 39173d4 commit 078df79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 9 additions & 1 deletion deploy/devspace/dev-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,15 @@ if [[ "${MINIKUBE}" == "yes" ]]; then
minikube image rm "${METRICS_EXPORTER_IMAGE}" > /dev/null 2>&1
echo "Build images in minikube"
echo "VERBOSITY=${VERBOSITY} MINIKUBE=yes ${PROJECT_ROOT}/dev/image_build_all_dev.sh"
VERBOSITY="${VERBOSITY}" MINIKUBE=yes "${PROJECT_ROOT}/dev/image_build_all_dev.sh"
if VERBOSITY="${VERBOSITY}" MINIKUBE=yes "${PROJECT_ROOT}/dev/image_build_all_dev.sh"; then
echo "OK. MINIKUBE build successful."
else
echo "########################"
echo "ERROR."
echo "MINIKUBE build has failed."
echo "Abort."
exit 1
fi
;;
esac
fi
Expand Down
5 changes: 3 additions & 2 deletions dev/image_build_universal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,15 @@ fi

echo "Docker build command ready:"
echo "${DOCKER_CMD}"
echo "Starting build."
echo "Starting docker image build."
echo "Please, wait..."

if ${DOCKER_CMD}; then
echo "OK. Build successful."
else
echo "########################"
echo "ERROR. Build has failed."
echo "ERROR."
echo "Docker image build has failed."
echo "Abort"
exit 1
fi

0 comments on commit 078df79

Please sign in to comment.