fix(actions): stop argocd login, use the kubernetes api directly with --core flag of argocd command
Some checks failed
/ validate (push) Failing after 2m37s
Some checks failed
/ validate (push) Failing after 2m37s
This commit is contained in:
parent
9715b21f69
commit
7e545e39c3
1 changed files with 9 additions and 9 deletions
|
|
@ -45,13 +45,13 @@ jobs:
|
|||
kubectl rollout restart deployment/argocd-server -n argocd
|
||||
kubectl rollout status deployment/argocd-server -n argocd --timeout=60s
|
||||
|
||||
- name: Login to ArgoCD
|
||||
run: |
|
||||
argocd login argocd-server.argocd.svc.cluster.local \
|
||||
--plaintext \
|
||||
--grpc-web \
|
||||
--username admin \
|
||||
--password argocd-ci
|
||||
#- name: Login to ArgoCD
|
||||
# run: |
|
||||
# argocd login argocd-server.argocd.svc.cluster.local \
|
||||
# --plaintext \
|
||||
# --grpc-web \
|
||||
# --username admin \
|
||||
# --password argocd-ci
|
||||
|
||||
- name: Import SealedSecrets key
|
||||
env:
|
||||
|
|
@ -68,8 +68,8 @@ jobs:
|
|||
- name: Wait for ArgoCD sync
|
||||
run: |
|
||||
APPS=$(argocd app list -o name)
|
||||
argocd app sync --async $APPS
|
||||
argocd app wait --health --timeout 300 $APPS
|
||||
argocd app sync --core --async $APPS
|
||||
argocd app wait --core --health --timeout 300 $APPS
|
||||
|
||||
- name: Wait for all deployments
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue