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