test(image): point admin MCP schema push at /app/litellm/schema.prisma (#51446)

The --target builder image copies the repo root to /app, so after the
schema moved under litellm/ it lives at /app/litellm/schema.prisma there.
Only the runtime stage adds the /app/schema.prisma alias.


Claude-Session: https://claude.ai/code/session_01Bne5zS8tnYUDfKJYENWcYA

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
maciej-berri 2026-11-12 16:18:01 -08:00 • committed by GitHub
parent a7052ea8a8
commit b304dcfe94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,7 @@ def test_image_admin_mcp_personal_admin_manages_team(offline_postgres: tuple[str
"--env", "HOME=/opt/prisma", "--env", "XDG_CACHE_HOME=/opt/prisma/.cache",
"--env", "PRISMA_BINARY_CACHE_DIR=/opt/prisma/binaries",
"--entrypoint", "prisma", SCHEMA_IMAGE,
"db", "push", "--schema", "/app/schema.prisma", "--skip-generate", "--accept-data-loss",
"db", "push", "--schema", "/app/litellm/schema.prisma", "--skip-generate", "--accept-data-loss",
],
capture_output=True, text=True, timeout=180, check=False,
)