EOX GitLab Instance

Commit a6ea1911 authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

.

parent 92ac5cfa
Pipeline #18708 passed with stage
in 22 seconds
...@@ -14,17 +14,18 @@ integration_test: ...@@ -14,17 +14,18 @@ integration_test:
- wget https://github.com/mikefarah/yq/releases/download/v4.14.2/yq_linux_amd64.tar.gz -O - | tar xvfz - && chmod +x yq_linux_amd64 - wget https://github.com/mikefarah/yq/releases/download/v4.14.2/yq_linux_amd64.tar.gz -O - | tar xvfz - && chmod +x yq_linux_amd64
- export SERVICE_NAME=postgresql # for testing - export SERVICE_NAME=postgresql # for testing
- export CI_COMMIT_TAG=10.12.1 # for testing - export CI_COMMIT_TAG=10.12.1 # for testing
- export BRANCH_NAME="auto-update-${SERVICE_NAME}-${CI_COMMIT_TAG}"
- 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
- cd vs-deployment - cd vs-deployment
- git switch -c "auto-update-${SERVICE_NAME}-${CI_COMMIT_TAG}" - git switch -c "${BRANCH_NAME}"
- cat Chart.yaml - cat Chart.yaml
- ../yq_linux_amd64 eval "( .dependencies[] | select(.name == \"${SERVICE_NAME}\") | .version ) = \"${CI_COMMIT_TAG}\"" -i Chart.yaml - ../yq_linux_amd64 eval "( .dependencies[] | select(.name == \"${SERVICE_NAME}\") | .version ) = \"${CI_COMMIT_TAG}\"" -i Chart.yaml
- cat Chart.yaml - cat Chart.yaml
- helm dependency update - helm dependency update
- git commit --all -m "Bump ${SERVICE_NAME} to ${CI_COMMIT_TAG}" - git commit --all -m "Bump ${SERVICE_NAME} to ${CI_COMMIT_TAG}"
- git push - git push --set-upstream origin "${BRANCH_NAME}"
#test: #test:
......
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