mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 10:42:39 +00:00
network debug
This commit is contained in:
parent
dfa675ea9a
commit
5c1ecc9ff5
1 changed files with 9 additions and 8 deletions
17
.github/workflows/publish-to-docker.yml
vendored
17
.github/workflows/publish-to-docker.yml
vendored
|
@ -95,6 +95,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd distributions/fireworks
|
cd distributions/fireworks
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
cd ..
|
||||||
# Wait for the container to start
|
# Wait for the container to start
|
||||||
timeout=300
|
timeout=300
|
||||||
while ! curl -s -f http://localhost:8321/v1/version > /dev/null && [ $timeout -gt 0 ]; do
|
while ! curl -s -f http://localhost:8321/v1/version > /dev/null && [ $timeout -gt 0 ]; do
|
||||||
|
@ -108,15 +109,15 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ../..
|
- name: Run simple models list test on docker server
|
||||||
|
run: |
|
||||||
|
curl http://localhost:8321/v1/models/list
|
||||||
|
|
||||||
|
# TODO: figure out why client cannot find server but curl works
|
||||||
|
- name: Run pytest on docker server
|
||||||
|
run: |
|
||||||
pip install pytest pytest-md-report
|
pip install pytest pytest-md-report
|
||||||
LLAMA_STACK_BASE_URL="http://localhost:8321" pytest -v tests/client-sdk/inference/test_inference.py --md-report --md-report-verbose=1
|
LLAMA_STACK_BASE_URL="http://0.0.0.0:8321" pytest -v tests/client-sdk/inference/test_inference.py --md-report --md-report-verbose=1
|
||||||
|
|
||||||
|
|
||||||
# - name: Run test on docker server
|
|
||||||
# run: |
|
|
||||||
# pip install pytest pytest-md-report
|
|
||||||
# LLAMA_STACK_BASE_URL="http://localhost:8321" pytest -v tests/client-sdk/inference/test_inference.py --md-report --md-report-verbose=1
|
|
||||||
|
|
||||||
# - name: Push to dockerhub
|
# - name: Push to dockerhub
|
||||||
# run: |
|
# run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue