ci(package): network index to api

This commit is contained in:
Thomas Hobson 2021-03-14 18:11:39 +13:00
parent aaadef6db9
commit c751653b3a
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ jobs:
output_max_size: 1024
max_process_count: 64
max_open_files: 2048
repo_url: http://piston_fs_repo:8000/index
repo_url: http://localhost:8000/index
write-mode: overwrite
@ -85,7 +85,7 @@ jobs:
- name: Run tests
run: |
docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' -d --name piston_fs_repo docker.pkg.github.com/engineer-man/piston/repo-builder --no-build
docker run -v $(pwd)'/data:/piston' -d --name api docker.pkg.github.com/engineer-man/piston/api
docker run --network container:piston_fs_repo -v $(pwd)'/data:/piston' -d --name api docker.pkg.github.com/engineer-man/piston/api
echo Waiting for API to start..
docker run --network container:api appropriate/curl --retry 10 --retry-connrefused http://localhost:6969/runtimes