Is there a way to wait for the refresh on an app with argocd CLI? #24047
jwaibel-pons
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a job that is pushing a change to the ArgoCD git repository. This will trigger a webhook that refreshes and then syncs the application.
In that job, after the
git push
, I would like to verify the success by first waiting for the refresh, then waiting for the sync, then waiting for the health of the application.But I havent found a way to wait for the refresh.
argocd app wait -operation
is NOT waiting for the refresh, neither do -sync nor -health.At the current state, my job has to "guess" and sleep, because otherwise waiting for sync and health would always fall through with success as they're checking sync and health before the refresh has even started.
I need something like
argocd app wait -refresh
and couldn't find it in the docs.Beta Was this translation helpful? Give feedback.
All reactions