Skip to content

Commit

Permalink
add shutdown test again
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinlercher committed Nov 23, 2024
1 parent e7a1e85 commit dc8fc90
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/cluster-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,16 @@ jobs:
kubectl logs -n argocd statefulset/sx-argocd-application-controller
kubectl logs -n argocd deployment/sx-argocd-repo-server
kubectl logs -n argocd deployment/sx-argocd-applicationset-controller
- name: shutdown test
shell: bash
run: |
kubectl delete application sx-bootstrap-app -n argocd &
# wait max 10 minutes
end=$((SECONDS+600))
while true ; do \
kubectl get applications -n argocd ; \
if [[ $? != 0 ]]; then break ; fi ; \
if [ $SECONDS -gt $end ] ; then kubectl get applications -n argocd -o yaml ;exit 1; fi; \
sleep 5 ;
done

0 comments on commit dc8fc90

Please sign in to comment.