From 616c74585557ce0a947bfc0ee69d5044cc4a5d14 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Fri, 11 Mar 2022 20:55:11 -0800 Subject: [PATCH] using curl to get the argocd binary so we have less shit in the container --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 951d1da5..ae44fa7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,9 +49,9 @@ sync_argo: stage: .post image: python:alpine script: - - apk add --no-cache jq wget + - 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') - - wget $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 sync dragon-bot rules: - changes: