Skip to content

Commit 25efcd5

Browse files
committed
improve minikube test
1 parent 85823b2 commit 25efcd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/minikube-k8s-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
run: |
3131
eval $(minikube docker-env)
3232
./build-an-deploy.sh
33-
while [[ kubectl get pods -l app=wrongsecrets-balancer -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}' != "True" ]]; do echo "waiting for wrongsecrets balancer" && sleep 2; done
33+
while [[ $(kubectl get pods -l app=wrongsecrets-balancer -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for wrongsecrets-balancer" && sleep 2; done
3434
kubectl logs deployments/wrongsecrets-balancer -f >> pod.log &
3535
echo "port forwarding"
3636
kubectl port-forward service/wrongsecrets-balancer 3000:3000 &
3737
echo "Awaiting the first forward to be ready"
3838
sleep 10
39-
curl http://localhost:3000
39+
curl http://localhost:3000/balancer/
4040
echo "logs from pod to make sure:"
4141
cat pod.log

0 commit comments

Comments
 (0)