Skip to content

Commit

Permalink
show argocd status of all apps right before sleep, so we can see it b…
Browse files Browse the repository at this point in the history
…etter in github action

Signed-off-by: Johannes Kleinlercher <[email protected]>
  • Loading branch information
jkleinlercher committed May 3, 2024
1 parent c2c92c7 commit 89ab440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-k3d-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ end=$((SECONDS+600))
argocd_apps="argocd sx-loki sx-kubecost sx-keycloak sx-promtail sx-tempo sx-crossplane sx-bootstrap-app sx-kargo approved-application-team-app sx-cert-manager sx-argo-rollouts sx-external-secrets sx-kyverno sx-kube-prometheus-stack"

while [ $SECONDS -lt $end ]; do
kubectl get application -n argocd
all_apps_synced="true"
for app in ${argocd_apps} ; do
kubectl get application -n argocd ${app} | grep "Synced.*Healthy"
Expand All @@ -68,6 +67,7 @@ while [ $SECONDS -lt $end ]; do
echo "all apps are synced! you are ready to take off!"
break
fi
kubectl get application -n argocd
sleep 10
done

Expand Down

0 comments on commit 89ab440

Please sign in to comment.