mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00: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
2
.github/workflows/docker-push-main.yml
vendored
2
.github/workflows/docker-push-main.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Publish docker image (latest)
|
||||
|
||||
env:
|
||||
DOCKER_IMAGE: katanemo/archgw
|
||||
DOCKER_IMAGE: katanemo/plano
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
|||
2
.github/workflows/docker-push-release.yml
vendored
2
.github/workflows/docker-push-release.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Publish docker image (release)
|
||||
|
||||
env:
|
||||
DOCKER_IMAGE: katanemo/archgw
|
||||
DOCKER_IMAGE: katanemo/plano
|
||||
|
||||
on:
|
||||
release:
|
||||
|
|
|
|||
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 }}
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ jobs:
|
|||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: build arch docker image
|
||||
- name: build plano docker image
|
||||
run: |
|
||||
docker build -f arch/Dockerfile . -t katanemo/archgw -t katanemo/archgw:0.3.22
|
||||
docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
|
||||
|
||||
- name: install poetry
|
||||
run: |
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: install arch gateway and test dependencies
|
||||
run: |
|
||||
source venv/bin/activate
|
||||
cd arch/tools && echo "installing archgw cli" && poetry install
|
||||
cd arch/tools && echo "installing plano cli" && poetry install
|
||||
cd ../../demos/shared/test_runner && echo "installing test dependencies" && poetry install
|
||||
|
||||
- name: run demo tests
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
|
||||
- name: build arch docker image
|
||||
run: |
|
||||
docker build -f arch/Dockerfile . -t katanemo/archgw -t katanemo/archgw:0.3.22
|
||||
docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
|
||||
|
||||
- name: install poetry
|
||||
run: |
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: install arch gateway and test dependencies
|
||||
run: |
|
||||
source venv/bin/activate
|
||||
cd arch/tools && echo "installing archgw cli" && poetry install
|
||||
cd arch/tools && echo "installing plano cli" && poetry install
|
||||
cd ../../demos/shared/test_runner && echo "installing test dependencies" && poetry install
|
||||
|
||||
- name: run demo tests
|
||||
|
|
|
|||
4
.github/workflows/ghrc-push-main.yml
vendored
4
.github/workflows/ghrc-push-main.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Publish docker image to ghcr (latest)
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw
|
||||
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/plano
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
file: ./arch/Dockerfile
|
||||
platforms: linux/arm64
|
||||
push: true
|
||||
# produce ghcr.io/<owner>/archgw:latest-arm64
|
||||
# produce ghcr.io/<owner>/plano:latest-arm64
|
||||
tags: ${{ steps.meta.outputs.tags }}-arm64
|
||||
|
||||
build-amd64:
|
||||
|
|
|
|||
2
.github/workflows/ghrc-push-release.yml
vendored
2
.github/workflows/ghrc-push-release.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: release - publish docker image to ghcr (latest)
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/archgw
|
||||
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/plano
|
||||
|
||||
on:
|
||||
release:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
name: arch tools tests
|
||||
name: plano tools tests
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -10,7 +10,7 @@ on:
|
|||
pull_request:
|
||||
|
||||
jobs:
|
||||
arch_tools_tests:
|
||||
plano_tools_tests:
|
||||
runs-on: ubuntu-latest-m
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
- name: install arch tools
|
||||
- name: install plano tools
|
||||
run: |
|
||||
poetry install
|
||||
|
||||
4
.github/workflows/validate_arch_config.yml
vendored
4
.github/workflows/validate_arch_config.yml
vendored
|
|
@ -24,8 +24,8 @@ jobs:
|
|||
|
||||
- name: build arch docker image
|
||||
run: |
|
||||
docker build -f arch/Dockerfile . -t katanemo/archgw -t katanemo/archgw:0.3.22
|
||||
docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
|
||||
|
||||
- name: validate arch config
|
||||
run: |
|
||||
bash arch/validate_arch_config.sh
|
||||
bash arch/validate_plano_config.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue