Skip to content

Commit

Permalink
chore: sleep 40 before check
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook committed Nov 27, 2024
1 parent d74676b commit 54da06b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-cloud-k3d-self.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ jobs:
- name: check kb-cloud-installer pod Completed
run: |
for i in {1..240}; do
sleep 40
for i in {1..200}; do
if kubectl get pods | grep "kb-cloud-installer" | grep Completed ; then
kubectl get pods -n kb-cloud | grep Running
echo "KB Cloud is ready"
Expand Down Expand Up @@ -144,7 +145,8 @@ jobs:
- name: check kb-cloud-deployer pod Completed
run: |
for i in {1..240}; do
sleep 40
for i in {1..200}; do
if kubectl get pods | grep "kb-cloud-deployer" | grep Completed ; then
kubectl get pods -n kb-system | grep Running
echo "KubeBlocks is ready"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-cloud-k3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ jobs:
- name: check kb-cloud-installer pod Completed
run: |
for i in {1..360}; do
sleep 40
for i in {1..200}; do
if kubectl get pods | grep "kb-cloud-installer" | grep Completed ; then
kubectl get pods -n kb-cloud | grep Running
echo "KB Cloud is ready"
Expand Down Expand Up @@ -148,7 +149,8 @@ jobs:
- name: check kb-cloud-deployer pod Completed
run: |
for i in {1..360}; do
sleep 40
for i in {1..200}; do
if kubectl get pods | grep "kb-cloud-deployer" | grep Completed ; then
kubectl get pods -n kb-system | grep Running
echo "KubeBlocks is ready"
Expand Down

0 comments on commit 54da06b

Please sign in to comment.