EOX GitLab Instance

Commit 40b399cb authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Use chart version, not app version, when bumping version in

vs-deployment
parent b8ba2a58
Pipeline #19643 passed with stage
in 31 seconds
......@@ -63,6 +63,8 @@ integration_test:
# - export SERVICE_NAME=postgresql
# - export CI_COMMIT_TAG=10.12.1
- export CHART_VERSION=$(./yq_linux_amd64 eval .version chart/Chart.yaml)
- export BRANCH_NAME="auto-update-${SERVICE_NAME}-${CI_COMMIT_TAG}"
- git config --global user.email "gitlab@eox.at"
- git config --global user.name "gitlab"
......@@ -70,7 +72,7 @@ integration_test:
- cd vs-deployment
- git switch -c "${BRANCH_NAME}"
# bump version in Chart.yaml
- ../yq_linux_amd64 eval "( .dependencies[] | select(.name == \"${SERVICE_NAME}\") | .version ) = \"${CI_COMMIT_TAG}\"" --inplace Chart.yaml
- ../yq_linux_amd64 eval "( .dependencies[] | select(.name == \"${SERVICE_NAME}\") | .version ) = \"${CHART_VERSION}\"" --inplace Chart.yaml
- helm dependency update
- git add charts/*
- git commit --all -m "Bump ${SERVICE_NAME} to ${CI_COMMIT_TAG}"
......
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