Fixes pipeline
This commit is contained in:
parent
69b5830ff4
commit
8d6e45a7f6
|
@ -86,11 +86,10 @@ steps:
|
|||
- name: update image version
|
||||
image: alpine
|
||||
commands:
|
||||
- mkdir $HOME/bin
|
||||
- wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64 -O $HOME/bin/yq && chmod +x $HOME/bin/yq
|
||||
- sed -i -r "s/(tag:).*/\1\ \"${DRONE_SEMVER}\"/" argocd/configserver/${DRONE_DEPLOY_TO}/overwrite_values.yaml
|
||||
- name: generate values
|
||||
image: mikefarah/yq:4.35.2
|
||||
commands:
|
||||
- cd argocd/configserver/${DRONE_DEPLOY_TO} && yq '. *= load("overwrite_values.yaml")' default_values.yaml > values.yaml
|
||||
- cd argocd/configserver/${DRONE_DEPLOY_TO} && $HOME/bin/yq '. *= load("overwrite_values.yaml")' default_values.yaml > values.yaml
|
||||
- name: save modified variable file
|
||||
image: alpine/git
|
||||
environment:
|
||||
|
|
Loading…
Reference in New Issue