Skip to content

Commit

Permalink
add curl
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 6, 2023
1 parent d334149 commit 1904eab
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/run_autogpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ jobs:
echo $dpid;
docker inspect $dpid || echo fail
done
curl http://localhost:8080/v1/models || echo ok
curl http://127.0.0.1:8080/v1/models || echo ok
curl http://172.18.0.3:8080/v1/models || echo ok
curl http://172.18.0.2:8080/v1/models || echo ok
curl http://172.18.0.1:8080/v1/models || echo ok
for url in http://localhost:8080/v1/models http://127.0.0.1:8080/v1/models http://172.18.0.3:8080/v1/models http://172.18.0.2:8080/v1/models http://172.18.0.1:8080/v1/models;
do
echo $url
curl --verbose $url
done
echo step
sleep 5
sleep 10
done
#timeout 300 bash -c 'while [[ "$(curl --insecure -s -o /dev/null -w ''%{http_code}'' https://localhost:8080/v1/models)" != "200" ]]; do sleep 5; done'
Expand Down

0 comments on commit 1904eab

Please sign in to comment.