Pull latest argocd CLI for pipeline

This commit is contained in:
Luke Robles 2022-03-11 17:11:17 -08:00
parent 406be3ab66
commit eb69a04933
3 changed files with 2 additions and 1 deletions

0
.gitignore vendored Normal file → Executable file
View File

View File

@ -48,7 +48,8 @@ build_and_push_container:
sync_argo:
stage: .post
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
rules:
- changes:

0
app/questions.py Normal file → Executable file
View File