From ade823003cf89d742457b9f47bd00d346183e350 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Tue, 23 Dec 2025 17:42:24 -0800 Subject: [PATCH] run gh and docker images --- .github/workflows/e2e_archgw.yml | 16 ++++++++-------- .github/workflows/e2e_test_currency_convert.yml | 4 ++-- .../e2e_test_preference_based_routing.yml | 2 +- .github/workflows/ghrc-push-main.yml | 2 +- .github/workflows/ghrc-push-release.yml | 2 +- .github/workflows/validate_arch_config.yml | 2 +- ...e_arch_config.sh => validate_plano_config.sh} | 0 7 files changed, 14 insertions(+), 14 deletions(-) rename arch/{validate_arch_config.sh => validate_plano_config.sh} (100%) diff --git a/.github/workflows/e2e_archgw.yml b/.github/workflows/e2e_archgw.yml index 199d184f..1bd8acaf 100644 --- a/.github/workflows/e2e_archgw.yml +++ b/.github/workflows/e2e_archgw.yml @@ -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 @@ -32,7 +32,7 @@ jobs: run: | 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 }} diff --git a/.github/workflows/e2e_test_currency_convert.yml b/.github/workflows/e2e_test_currency_convert.yml index d2334537..411c8523 100644 --- a/.github/workflows/e2e_test_currency_convert.yml +++ b/.github/workflows/e2e_test_currency_convert.yml @@ -22,7 +22,7 @@ jobs: with: python-version: "3.12" - - name: build arch docker image + - name: build plano docker image run: | docker build -f arch/Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.0 @@ -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 diff --git a/.github/workflows/e2e_test_preference_based_routing.yml b/.github/workflows/e2e_test_preference_based_routing.yml index c2c135e9..df706436 100644 --- a/.github/workflows/e2e_test_preference_based_routing.yml +++ b/.github/workflows/e2e_test_preference_based_routing.yml @@ -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 diff --git a/.github/workflows/ghrc-push-main.yml b/.github/workflows/ghrc-push-main.yml index 068d0754..7b6eed41 100644 --- a/.github/workflows/ghrc-push-main.yml +++ b/.github/workflows/ghrc-push-main.yml @@ -33,7 +33,7 @@ jobs: file: ./arch/Dockerfile platforms: linux/arm64 push: true - # produce ghcr.io//archgw:latest-arm64 + # produce ghcr.io//plano:latest-arm64 tags: ${{ steps.meta.outputs.tags }}-arm64 build-amd64: diff --git a/.github/workflows/ghrc-push-release.yml b/.github/workflows/ghrc-push-release.yml index 35d5de92..775fd3b5 100644 --- a/.github/workflows/ghrc-push-release.yml +++ b/.github/workflows/ghrc-push-release.yml @@ -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: diff --git a/.github/workflows/validate_arch_config.yml b/.github/workflows/validate_arch_config.yml index e3189501..7d033aa3 100644 --- a/.github/workflows/validate_arch_config.yml +++ b/.github/workflows/validate_arch_config.yml @@ -28,4 +28,4 @@ jobs: - name: validate arch config run: | - bash arch/validate_arch_config.sh + bash arch/validate_plano_config.sh diff --git a/arch/validate_arch_config.sh b/arch/validate_plano_config.sh similarity index 100% rename from arch/validate_arch_config.sh rename to arch/validate_plano_config.sh