ci(package): network index to api
This commit is contained in:
parent
aaadef6db9
commit
c751653b3a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue