fix(actions): fix the 'Wait for argocd sync' step logic
Some checks failed
/ validate (push) Failing after 1m53s
Some checks failed
/ validate (push) Failing after 1m53s
This commit is contained in:
parent
f57a22bf16
commit
bb399fd508
1 changed files with 3 additions and 2 deletions
|
|
@ -55,8 +55,9 @@ jobs:
|
||||||
|
|
||||||
- name: Wait for ArgoCD sync
|
- name: Wait for ArgoCD sync
|
||||||
run: |
|
run: |
|
||||||
argocd app sync --all --server argocd-server.argocd.svc.cluster.local --plaintext --grpc-web
|
APPS=$(argocd app list -o name)
|
||||||
argocd app wait --all --health --timeout 300 --server argocd-server.argocd.svc.cluster.local --plaintext --grpc-web
|
argocd app sync --async $APPS
|
||||||
|
argocd app wait --health --timeout 300 $APPS
|
||||||
|
|
||||||
- name: Wait for all deployments
|
- name: Wait for all deployments
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue