This commit is contained in:
Adil Hafeez 2024-10-26 16:24:45 -07:00
parent 0583caeb73
commit 6ca45d8731
2 changed files with 9 additions and 10 deletions

View file

@ -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 }}

View file

@ -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