This commit is contained in:
Adil Hafeez 2024-10-26 16:14:25 -07:00
parent fefbfe7c7f
commit e383469e49

View file

@ -9,16 +9,16 @@ pwd
log building function_callling demo
log ===============================
cd ../demos/function_calling
docker compose build
docker compose build 2>&1 > ../build.log
log starting the function_calling demo
docker compose up -d
docker compose up -d 2>&1 >> ../build.log
cd -
log building model server
log =====================
cd ../model_server
poetry install
poetry install 2>&1 >> ../build.log
log starting model server
log =====================
poetry run archgw_modelserver restart &
@ -27,13 +27,13 @@ cd -
log building llm and prompt gateway rust modules
log ============================================
cd ../arch
sh build_filter_image.sh
sh build_filter_image.sh 2>&1 >> ../build.log
log starting the arch gateway service
log =================================
docker compose down
docker compose down 2>&1 >> ../build.log
log waiting for model service to be healthy
wait_for_healthz "http://localhost:51000/healthz" 300
docker compose up -d
docker compose up -d 2>&1 >> ../build.log
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
@ -41,17 +41,17 @@ cd -
log running e2e tests
log =================
poetry install
poetry install 2>&1 >> ../build.log
poetry run pytest
log shutting down the arch gateway service
log ======================================
cd ../arch
docker compose stop
docker compose stop 2>&1 >> ../build.log
cd -
log shutting down the function_calling demo
log =======================================
cd ../demos/function_calling
docker compose down
docker compose down 2>&1 >> ../build.log
cd -