Skip to content
Snippets Groups Projects
Commit b2e4ba63 authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

fix gitops-snapshot CI job

parent 599be408
No related branches found
No related tags found
No related merge requests found
Pipeline #1540 passed
......@@ -103,8 +103,8 @@ gitops-snapshot:
script:
- git clone https://${GITEA_USER}:${GITEA_TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git
- cd gitops
- yq -i ".afm_adapter.image.tag = \"${SNAPSHOT_TAG}-${CI_COMMIT_SHORT_SHA}\"" ${VALUES_FILE}
- yq -i ".afm_adapter.helm.version = \"${PROJECT_VERSION}-main-${CI_COMMIT_SHORT_SHA}\"" ${VALUES_FILE}
- yq -i ".fs_adapter.image.tag = \"${SNAPSHOT_TAG}-${CI_COMMIT_SHORT_SHA}\"" ${VALUES_FILE}
- yq -i ".fs_adapter.helm.version = \"${PROJECT_VERSION}-main-${CI_COMMIT_SHORT_SHA}\"" ${VALUES_FILE}
- git add ${VALUES_FILE}
- git commit -m "code-sh GitLab CI rollout ${environment} ${PROJECT_ARTIFACTID} version ${SNAPSHOT_TAG}-${CI_COMMIT_SHORT_SHA}"
- git push https://${GITEA_USER}:${GITEA_TOKEN}@git.ozg-sh.de/ozgcloud-devops/gitops.git
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment