use e2e docker compose file

This commit is contained in:
Adil Hafeez 2024-10-27 00:10:36 -07:00
parent 088bbcf0d4
commit f5ecf733ff
4 changed files with 23 additions and 7 deletions

View file

@ -32,10 +32,10 @@ cd ../arch
docker build -f Dockerfile .. -t katanemo/archgw -q
log starting the arch gateway service
log =================================
docker compose down
docker compose -f docker-compose.e2e.yaml down
log waiting for model service to be healthy
wait_for_healthz "http://localhost:51000/healthz" 600 # wait for 10 mins
docker compose up -d
docker compose -f docker-compose.e2e.yaml up -d
log waiting for arch gateway service to be healthy
wait_for_healthz "http://localhost:10000/healthz" 60
log waiting for arch gateway service to be healthy
@ -49,7 +49,7 @@ poetry run pytest
log shutting down the arch gateway service
log ======================================
cd ../arch
docker compose stop 2>&1 >> ../build.log
docker compose -f docker-compose.e2e.yaml stop 2>&1 >> ../build.log
cd -
log shutting down the function_calling demo