From 8aa215e94cd28c4eba3c47f14314d39e69bebb7e Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 22 May 2022 15:29:38 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 630d722c..d8e3337d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,7 +51,7 @@ sync_argo: - 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') - 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 rules: - changes: