Skip to content

Commit

Permalink
Merge pull request #418 from jiridanek/waiting
Browse files Browse the repository at this point in the history
NO-JIRA: fix(gha) improve robustness by checking for resource existence
  • Loading branch information
openshift-merge-bot[bot] authored Oct 16, 2024
2 parents 385767d + ed317a7 commit 130d758
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ jobs:
port: notebook-port
EOF
# wait for the statefulset to be created
timeout 100 bash -c -- 'until kubectl get statefulset minimal-notebook; do sleep 1; done'
# wait for the good result
kubectl rollout status --watch statefulset minimal-notebook
kubectl wait statefulset minimal-notebook --for=jsonpath='{.spec.replicas}'=1 --timeout=100s
Expand Down

0 comments on commit 130d758

Please sign in to comment.