restructure cli

- move /arch/tools => /cli
- rename /arch -> /config
- update all refs in tests to use /config
- update planoai code with new references
This commit is contained in:
Adil Hafeez 2025-12-25 00:46:13 -08:00
parent a56bb9d190
commit 425acecccc
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
45 changed files with 137 additions and 102 deletions

View file

@ -34,7 +34,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}-arm64
@ -64,7 +64,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}-amd64

View file

@ -33,7 +33,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}-arm64
@ -63,7 +63,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}-amd64

View file

@ -30,7 +30,7 @@ jobs:
- name: build arch docker image
run: |
cd ../../ && docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0 -t katanemo/plano:latest
cd ../../ && docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0 -t katanemo/plano:latest
- name: start plano
env:

View file

@ -24,7 +24,7 @@ jobs:
- name: build plano docker image
run: |
docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
docker build -f 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 plano cli" && poetry install
cd cli && echo "installing plano cli" && poetry install
cd ../../demos/shared/test_runner && echo "installing test dependencies" && poetry install
- name: run demo tests

View file

@ -24,7 +24,7 @@ jobs:
- name: build arch docker image
run: |
docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
docker build -f 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 plano cli" && poetry install
cd cli && echo "installing plano cli" && poetry install
cd ../../demos/shared/test_runner && echo "installing test dependencies" && poetry install
- name: run demo tests

View file

@ -30,7 +30,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/arm64
push: true
# produce ghcr.io/<owner>/plano:latest-arm64
@ -58,7 +58,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}-amd64

View file

@ -30,7 +30,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}-arm64
@ -57,7 +57,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./arch/Dockerfile
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}-amd64

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest-m
defaults:
run:
working-directory: ./arch/tools
working-directory: ./cli
steps:
- name: Checkout code

View file

@ -24,8 +24,8 @@ jobs:
- name: build arch docker image
run: |
docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0
- name: validate arch config
run: |
bash arch/validate_plano_config.sh
bash config/validate_plano_config.sh