From bb399fd508f2da94b762c13ad82dcc29ab69d878 Mon Sep 17 00:00:00 2001 From: jad0s Date: Fri, 12 Jun 2026 21:08:46 +0200 Subject: [PATCH] fix(actions): fix the 'Wait for argocd sync' step logic --- .forgejo/workflows/validate.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/validate.yaml b/.forgejo/workflows/validate.yaml index 480a1e9..046d25d 100644 --- a/.forgejo/workflows/validate.yaml +++ b/.forgejo/workflows/validate.yaml @@ -55,8 +55,9 @@ jobs: - name: Wait for ArgoCD sync run: | - argocd app sync --all --server argocd-server.argocd.svc.cluster.local --plaintext --grpc-web - argocd app wait --all --health --timeout 300 --server argocd-server.argocd.svc.cluster.local --plaintext --grpc-web + APPS=$(argocd app list -o name) + argocd app sync --async $APPS + argocd app wait --health --timeout 300 $APPS - name: Wait for all deployments run: |