Update .gitlab-ci.yml file
This commit is contained in:
parent
128192d380
commit
8aa215e94c
@ -51,7 +51,7 @@ sync_argo:
|
|||||||
- apk add --no-cache jq curl
|
- apk add --no-cache jq curl
|
||||||
- latest=$(curl -sL https://api.github.com/repos/argoproj/argo-cd/releases/latest | jq -r '.assets[] | select( .name | contains("argocd-linux-amd64")).browser_download_url')
|
- latest=$(curl -sL https://api.github.com/repos/argoproj/argo-cd/releases/latest | jq -r '.assets[] | select( .name | contains("argocd-linux-amd64")).browser_download_url')
|
||||||
- curl -Ls $latest -o /tmp/argocd && chmod +x /tmp/argocd
|
- curl -Ls $latest -o /tmp/argocd && chmod +x /tmp/argocd
|
||||||
- /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app create dragon-bot --file ./argocd-application.yaml -p .Values.image.tag=$CI_PIPELINE_IID
|
- /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app create dragon-bot --upsert --file ./argocd-application.yaml -p .Values.image.tag=$CI_PIPELINE_IID
|
||||||
- /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot
|
- /tmp/argocd --insecure --server 192.168.1.205 --auth-token $ARGOCD_TOKEN app sync dragon-bot
|
||||||
rules:
|
rules:
|
||||||
- changes:
|
- changes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user