ci(package): wait for index to start

This commit is contained in:
Thomas Hobson 2021-03-14 18:05:20 +13:00
parent 94ac5c42aa
commit 72f0f61448
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ jobs:
echo Waiting for API to start.. echo Waiting for API to start..
docker run --network container:api appropriate/curl --retry 10 --retry-connrefused http://localhost:6969/runtimes docker run --network container:api appropriate/curl --retry 10 --retry-connrefused http://localhost:6969/runtimes
echo Waiting for Index to start..
docker run --network container:api appropriate/curl --retry 10 --retry-connrefused http://piston_fs_repo:8000/index
echo Listing Packages echo Listing Packages
docker run --network container:api appropriate/curl http://localhost:6969/packages docker run --network container:api appropriate/curl http://localhost:6969/packages