Pull latest argocd CLI for pipeline
This commit is contained in:
parent
406be3ab66
commit
eb69a04933
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
@ -48,7 +48,8 @@ build_and_push_container:
|
|||||||
sync_argo:
|
sync_argo:
|
||||||
stage: .post
|
stage: .post
|
||||||
script:
|
script:
|
||||||
- wget https://github.com/argoproj/argo-cd/releases/download/v2.2.5/argocd-linux-amd64 -O /tmp/argocd && chmod +x /tmp/argocd
|
- 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')
|
||||||
|
- wget $latest -O /tmp/argocd && chmod +x /tmp/argocd
|
||||||
- /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:
|
||||||
|
0
app/questions.py
Normal file → Executable file
0
app/questions.py
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user