Fix pipeline
This commit is contained in:
parent
7823afe7f2
commit
de7bf6e903
|
@ -84,7 +84,7 @@ steps:
|
||||||
- git clone ssh://giteajim@git.2martens.de:22/2martens/cloud-configuration.git .
|
- git clone ssh://giteajim@git.2martens.de:22/2martens/cloud-configuration.git .
|
||||||
- git checkout main
|
- git checkout main
|
||||||
- name: update image version
|
- name: update image version
|
||||||
image: alpine
|
image: mikefarah/yq:4.35.2
|
||||||
commands:
|
commands:
|
||||||
- sed -i -r "s/(tag:).*/\1\ \"${DRONE_SEMVER}\"/" argocd/configserver/${DRONE_DEPLOY_TO}/overwrite_values.yaml
|
- sed -i -r "s/(tag:).*/\1\ \"${DRONE_SEMVER}\"/" argocd/configserver/${DRONE_DEPLOY_TO}/overwrite_values.yaml
|
||||||
- cd argocd/configserver/${DRONE_DEPLOY_TO} && yq '. *= load("overwrite_values.yaml")' default_values.yaml > values.yaml
|
- cd argocd/configserver/${DRONE_DEPLOY_TO} && yq '. *= load("overwrite_values.yaml")' default_values.yaml > values.yaml
|
||||||
|
@ -104,11 +104,6 @@ steps:
|
||||||
- git diff-index --quiet HEAD || git commit -m "[Drone] Changed configserver_image_version to ${DRONE_SEMVER}"
|
- git diff-index --quiet HEAD || git commit -m "[Drone] Changed configserver_image_version to ${DRONE_SEMVER}"
|
||||||
- git push origin main
|
- git push origin main
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
host:
|
|
||||||
path: /var/lib/drone/cache/.ansible
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
target:
|
target:
|
||||||
- test
|
- test
|
||||||
|
|
Loading…
Reference in New Issue