diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 3d4b612c..2d53a6d6 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -11,23 +11,20 @@ jobs: runs-on: ubuntu-latest steps: - # Step 1: Check out the code from your repository - name: Checkout code uses: actions/checkout@v3 - # Step 2: Set up Python (specify the version) - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.10" # Adjust to your Python version + python-version: "3.10" - # Step 3: Install Poetry - name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - export PATH="$HOME/.local/bin:$PATH" - - name: run e2e tests + - name: Run e2e tests env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} diff --git a/e2e_tests/run_e2e_tests.sh b/e2e_tests/run_e2e_tests.sh index f02c4330..803412ae 100644 --- a/e2e_tests/run_e2e_tests.sh +++ b/e2e_tests/run_e2e_tests.sh @@ -6,13 +6,15 @@ pwd . ./common_scripts.sh +log starting > ../build.log + log building function_callling demo log =============================== cd ../demos/function_calling -docker compose build 2>&1 > ../../build.log +docker compose build -q log starting the function_calling demo -docker compose up -d 2>&1 >> ../../build.log +docker compose up -d cd - log building model server @@ -27,13 +29,13 @@ cd - log building llm and prompt gateway rust modules log ============================================ cd ../arch -docker build -f Dockerfile .. -t katanemo/archgw 2>&1 >> ../build.log +docker build -f Dockerfile .. -t katanemo/archgw -q log starting the arch gateway service log ================================= -docker compose down 2>&1 >> ../build.log +docker compose down log waiting for model service to be healthy wait_for_healthz "http://localhost:51000/healthz" 300 -docker compose up -d 2>&1 >> ../build.log +docker compose 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