EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
scheduler
Commits
d902a585
Commit
d902a585
authored
Dec 13, 2021
by
Bernhard Mallinger
Browse files
fixup! Use chart version, not app version, when bumping version in vs-deployment
parent
ef2b3cd1
Pipeline
#19646
passed with stages
in 2 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d902a585
...
@@ -61,11 +61,11 @@ integration_test:
...
@@ -61,11 +61,11 @@ integration_test:
-
wget -q https://github.com/mikefarah/yq/releases/download/v4.14.2/yq_linux_amd64.tar.gz -O - | tar xvfz - && chmod +x yq_linux_amd64
-
wget -q https://github.com/mikefarah/yq/releases/download/v4.14.2/yq_linux_amd64.tar.gz -O - | tar xvfz - && chmod +x yq_linux_amd64
# for testing:
# for testing:
# - export SERVICE_NAME=postgresql
# - export SERVICE_NAME=postgresql
# - export C
I_COMMIT_TAG
=10.12.1
# - export C
HART_VERSION
=10.12.1
-
export CHART_VERSION=$(./yq_linux_amd64 eval .version
chart/Chart.yaml)
-
export CHART_VERSION=$(./yq_linux_amd64 eval .version chart/Chart.yaml)
-
export BRANCH_NAME="auto-update-${SERVICE_NAME}-${C
I_COMMIT_TAG
}"
-
export BRANCH_NAME="auto-update-${SERVICE_NAME}-${C
HART_VERSION
}"
-
git config --global user.email "gitlab@eox.at"
-
git config --global user.email "gitlab@eox.at"
-
git config --global user.name "gitlab"
-
git config --global user.name "gitlab"
-
git clone https://${VS_DEPLOYMENT_GIT_REPOSITORY_CREDENTIALS}@gitlab.eox.at/vs/vs-deployment.git
-
git clone https://${VS_DEPLOYMENT_GIT_REPOSITORY_CREDENTIALS}@gitlab.eox.at/vs/vs-deployment.git
...
@@ -75,5 +75,5 @@ integration_test:
...
@@ -75,5 +75,5 @@ integration_test:
-
../yq_linux_amd64 eval "( .dependencies[] | select(.name == \"${SERVICE_NAME}\") | .version ) = \"${CHART_VERSION}\"" --inplace Chart.yaml
-
../yq_linux_amd64 eval "( .dependencies[] | select(.name == \"${SERVICE_NAME}\") | .version ) = \"${CHART_VERSION}\"" --inplace Chart.yaml
-
helm dependency update
-
helm dependency update
-
git add charts/*
-
git add charts/*
-
git commit --all -m "Bump ${SERVICE_NAME} to ${C
I_COMMIT_TAG
}"
-
git commit --all -m "Bump ${SERVICE_NAME} to ${C
HART_VERSION
}"
-
git push --set-upstream origin "${BRANCH_NAME}"
-
git push --set-upstream origin "${BRANCH_NAME}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment