Skip to content

Commit

Permalink
Merge pull request #321 from mbaldessari/refresh
Browse files Browse the repository at this point in the history
Force a refresh when calling argocd sync and wait
  • Loading branch information
mbaldessari authored Nov 29, 2024
2 parents 1712960 + 1cb7045 commit cf3259c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ spec:
- if [ -z $ARGOCD_AUTH_TOKEN ]; then
yes | argocd login $(params.argocd-server) --grpc-web $(params.flags) --username=$(cat $(workspaces.argocd-env-secret.path)/ARGOCD_USERNAME) --password=$(cat $(workspaces.argocd-env-secret.path)/ARGOCD_PASSWORD);
fi;
- argocd app get --refresh $(params.application.name);
- argocd app sync $(params.application-name) --revision $(params.revision) $(params.flags);
- argocd app wait $(params.application-name) --health $(params.flags);

0 comments on commit cf3259c

Please sign in to comment.