mirror of
https://github.com/katanemo/plano.git
synced 2026-04-28 18:36:34 +02:00
rename cli to plano (#647)
This commit is contained in:
parent
e224cba3e3
commit
e7ce00b5a7
70 changed files with 226 additions and 212 deletions
18
.github/workflows/e2e_archgw.yml
vendored
18
.github/workflows/e2e_archgw.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: e2e archgw tests
|
||||
name: e2e plano tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -7,7 +7,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
e2e_archgw_tests:
|
||||
e2e_plano_tests:
|
||||
runs-on: ubuntu-latest-m
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -30,9 +30,9 @@ jobs:
|
|||
|
||||
- name: build arch docker image
|
||||
run: |
|
||||
cd ../../ && docker build -f arch/Dockerfile . -t katanemo/archgw -t katanemo/archgw:0.3.22 -t katanemo/archgw:latest
|
||||
cd ../../ && docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0 -t katanemo/plano:latest
|
||||
|
||||
- name: start archgw
|
||||
- name: start plano
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
|
||||
|
|
@ -42,9 +42,9 @@ jobs:
|
|||
AWS_BEARER_TOKEN_BEDROCK: ${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}
|
||||
|
||||
run: |
|
||||
docker compose up | tee &> archgw.logs &
|
||||
docker compose up | tee &> plano.logs &
|
||||
|
||||
- name: wait for archgw to be healthy
|
||||
- name: wait for plano to be healthy
|
||||
run: |
|
||||
source common.sh && wait_for_healthz http://localhost:10000/healthz
|
||||
|
||||
|
|
@ -58,11 +58,11 @@ jobs:
|
|||
run: |
|
||||
poetry install
|
||||
|
||||
- name: run archgw tests
|
||||
- name: run plano tests
|
||||
run: |
|
||||
poetry run pytest || tail -100 archgw.logs
|
||||
poetry run pytest || tail -100 plano.logs
|
||||
|
||||
- name: stop archgw docker container
|
||||
- name: stop plano docker container
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue