Skip to content

Commit

Permalink
added restart docker step when kind cluster cannot be created, and th…
Browse files Browse the repository at this point in the history
…en try again.

Signed-off-by: tao.yang <[email protected]>
  • Loading branch information
ty-dc committed Apr 10, 2024
1 parent 7c10b4f commit fc35435
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/e2e-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,16 @@ jobs:
# test against commit version
# https://github.com/kubernetes-sigs/kind/issues/2863
- name: Setup Kind Cluster
uses: nick-invision/retry@v2
uses: nick-invision/retry@v3
with:
timeout_minutes: 20
max_attempts: 3
on_retry_command: |
echo "debug"
systemctl status docker
journalctl -xeu docker
echo "restart docker before trying again"
systemctl restart docker
command: |
INSTALL_OVS_VALUE=true
MINIMAL_VERSION=1.24.3
Expand Down

0 comments on commit fc35435

Please sign in to comment.