Files
copilotkit__copilotkit/showcase/tests/docker-compose.integrations.yml
Jordan Ritter d4736a911a fix(showcase): update CI workflows, Dockerfiles, and configs
for integrations/ rename

Update GitHub Actions workflows to reference
showcase/integrations/ instead of showcase/packages/.
Fix Dockerfiles to dereference symlinks during COPY.
Remove obsolete showcase_template-drift workflow.
Update docker-compose, shell Dockerfiles, and registry paths.
2026-04-28 07:51:06 -07:00

28 lines
908 B
YAML

# Aimock sidecar for per-package e2e testing in CI.
#
# Boots aimock with the shared feature-parity fixture so per-package
# Playwright tests get deterministic LLM responses.
#
# Usage:
# docker compose -f docker-compose.integrations.yml up -d aimock
# OPENAI_BASE_URL=http://localhost:4010/v1 OPENAI_API_KEY=test-key \
# cd ../integrations/<slug> && pnpm dev &
# npx playwright test
#
# Or in CI, reference this as a service container alongside the test runner.
services:
aimock:
image: ghcr.io/copilotkit/aimock:latest
volumes:
- ../aimock/feature-parity.json:/fixtures/default.json:ro
command:
["--fixtures", "/fixtures", "--host", "0.0.0.0", "--validate-on-load"]
ports:
- "4010:4010"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:4010/health"]
interval: 5s
timeout: 3s
retries: 10
start_period: 5s