Commit 5652e8a7 authored by Andreas König's avatar Andreas König

more verbose

parent 6a354986
Pipeline #12900 passed with stage
in 1 minute and 42 seconds
......@@ -53,6 +53,7 @@ export CHART_DIR="src/helm/charts/${CI_PROJECT_NAME}"
export DEPLOYMENT_YML_FILE="${DEPLOYMENT_YML_FILE:-deployment.yml}"
if [ -d "$CHART_DIR" ]; then
echo "Deploy $CI_REGISTRY_IMAGE:$CI_REGISTRY_TAG with Helm"
helm upgrade --install \
--wait \
--set image.repository="$CI_REGISTRY_IMAGE" \
......@@ -66,7 +67,8 @@ if [ -d "$CHART_DIR" ]; then
"$CHART_DIR"
elif [ -e "${DEPLOYMENT_YML_FILE}" ]; then
source <(echo 'kubectl apply -n $KUBE_NAMESPACE -f - <<EOFOFDEPLOYMENTYML'; cat "${DEPLOYMENT_YML_FILE}"; echo EOFOFDEPLOYMENTYML)
echo "Deploy ${DEPLOYMENT_YML_FILE}"
source <(echo 'kubectl apply -n $KUBE_NAMESPACE -f - <<EOFOFDEPLOYMENTYML'; cat "${DEPLOYMENT_YML_FILE}"; echo EOFOFDEPLOYMENTYML)
else
cat <<EOF | kubectl apply -n $KUBE_NAMESPACE -f -
apiVersion: extensions/v1beta1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment