refactor(ci): get rid of ArgoCD action
Some checks failed
functions / build (push) Failing after 10s

This commit is contained in:
Peter 2025-01-17 11:48:31 +01:00
parent 078ddeb6e5
commit 05d3cd7546
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -10,6 +10,12 @@ jobs:
- name: Setup `spin` - name: Setup `spin`
uses: fermyon/actions/spin/setup@v1 uses: fermyon/actions/spin/setup@v1
- name: Setup argocd CLI
run: |
curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-$(uname -m)
chmod +x /usr/local/bin/argocd
argocd version --client
- name: Setup Go 1.23.x - name: Setup Go 1.23.x
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -37,16 +43,9 @@ jobs:
working-directory: comics working-directory: comics
- name: Upsert Argo App - name: Upsert Argo App
uses: clowdhaus/argo-cd-action@v2.2.0 run: |
with: argocd app create functions -f deploy/argo-app.yaml --upsert --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext --assumeYes
command: app create functions
options: -f deploy/argo-app.yaml --upsert --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext
version: "2.13.3"
env:
GITHUB_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
- name: Deploy KubeSpin apps - name: Deploy KubeSpin apps
uses: clowdhaus/argo-cd-action@v2.2.0 run: |
with: argocd app sync functions --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext --assumeYes
command: app sync functions
options: --assumeYes --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext