add --docker flag to E2E tests and demo scripts

This commit is contained in:
Adil Hafeez 2026-03-03 15:08:50 -08:00
parent 9d223d54f9
commit 53d11ae235
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
14 changed files with 35 additions and 35 deletions

View file

@ -45,8 +45,8 @@ uv sync
log startup plano gateway with function calling demo
cd ../../
planoai down
planoai up demos/getting_started/weather_forecast/config.yaml
planoai down --docker
planoai up --docker demos/getting_started/weather_forecast/config.yaml
cd -
log running e2e tests for prompt gateway
@ -55,11 +55,11 @@ uv run pytest test_prompt_gateway.py
log shutting down the plano gateway service for prompt_gateway demo
log ===============================================================
planoai down
planoai down --docker
log startup plano gateway with model alias routing demo
cd ../../
planoai up demos/llm_routing/model_alias_routing/config_with_aliases.yaml
planoai up --docker demos/llm_routing/model_alias_routing/config_with_aliases.yaml
cd -
log running e2e tests for model alias routing
@ -71,8 +71,8 @@ log ========================================
uv run pytest test_openai_responses_api_client.py
log startup plano gateway with state storage for openai responses api client demo
planoai down
planoai up config_memory_state_v1_responses.yaml
planoai down --docker
planoai up --docker config_memory_state_v1_responses.yaml
log running e2e tests for openai responses api client
log ========================================

View file

@ -36,8 +36,8 @@ uv sync
# Start gateway with model alias routing config
log "startup plano gateway with model alias routing demo"
cd ../../
planoai down || true
planoai up demos/llm_routing/model_alias_routing/config_with_aliases.yaml
planoai down --docker || true
planoai up --docker demos/llm_routing/model_alias_routing/config_with_aliases.yaml
cd -
# Run both test suites that share this config in a single pytest invocation
@ -46,4 +46,4 @@ uv run pytest -n auto test_model_alias_routing.py test_openai_responses_api_clie
# Cleanup
log "shutting down"
planoai down || true
planoai down --docker || true

View file

@ -41,8 +41,8 @@ cd -
# Start gateway with prompt_gateway config
log "startup plano gateway with function calling demo"
cd ../../
planoai down || true
planoai up demos/getting_started/weather_forecast/config.yaml
planoai down --docker || true
planoai up --docker demos/getting_started/weather_forecast/config.yaml
cd -
# Run tests
@ -51,7 +51,7 @@ uv run pytest test_prompt_gateway.py
# Cleanup
log "shutting down"
planoai down || true
planoai down --docker || true
cd ../../demos/getting_started/weather_forecast
docker compose down
cd -

View file

@ -35,8 +35,8 @@ uv sync
# Start gateway with state storage config
log "startup plano gateway with state storage config"
cd ../../
planoai down || true
planoai up tests/e2e/config_memory_state_v1_responses.yaml
planoai down --docker || true
planoai up --docker tests/e2e/config_memory_state_v1_responses.yaml
cd -
# Run tests
@ -45,4 +45,4 @@ uv run pytest test_openai_responses_api_client_with_state.py
# Cleanup
log "shutting down"
planoai down || true
planoai down --docker || true