File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -115,22 +115,22 @@ jobs:
115
115
zrok ./charts/zrok
116
116
117
117
- name : Wait for the zrok API to become available
118
- uses : iFaxity/wait-on-action@v1
119
- with :
120
- resource : http-get://ctrl.zrok.${{ steps.minikube_ip.outputs.minikube_ip }}.sslip.io/api/v1/version
121
- delay : 3000
122
- interval : 3000
123
- timeout : 30000
124
- verbose : true
118
+ shell : bash
119
+ run : |
120
+ ATTEMPTS=10
121
+ until !(( ATTEMPTS )) || curl --silent --fail http://ctrl.zrok.${{ steps.minikube_ip.outputs.minikube_ip }}.sslip.io/api/v1/version &>/dev/null; do
122
+ echo "Waiting for zrok API to become available..."
123
+ sleep 3
124
+ (( ATTEMPTS-- ))
125
+ done
126
+ curl --silent --show-errors --fail-with-body http://ctrl.zrok.${{ steps.minikube_ip.outputs.minikube_ip }}.sslip.io/api/v1/version
125
127
126
128
- name : Print debug info
127
129
if : always()
128
130
shell : bash
129
131
run : |
130
132
set +e
131
133
set -x
132
- curl --verbose --head --fail-with-body http://ctrl.zrok.192.168.49.2.sslip.io/
133
- curl --verbose http://ctrl.zrok.192.168.49.2.sslip.io/api/v1/version
134
134
miniziti kubectl get pods -A
135
135
miniziti kubectl get services -A
136
136
miniziti kubectl get ingresses -A
You can’t perform that action at this time.
0 commit comments