Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 23s
CICD / Build and Push CICD Image (push) Failing after 13m16s
CICD / Backend Tests (push) Has been cancelled
CICD / Pre-commit Checks (push) Has been cancelled
CICD / Frontend Tests (push) Has been cancelled
CICD / Backend Doctests (push) Has been cancelled
CICD / Build and Publish Runtime Images (push) Has been cancelled
CICD / Runtime Black-Box Integration Tests (push) Has been cancelled
CICD / End-to-End Tests (push) Has been cancelled
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
---
|
|
services:
|
|
database:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_DB: plex_playlist
|
|
POSTGRES_USER: plex_user
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:-plex_password}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U plex_user -d plex_playlist"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 12
|
|
|
|
backend:
|
|
image: ${DEPLOYABLE_BACKEND_IMAGE:-deployable-backend:local}
|
|
environment:
|
|
DATABASE_URL: ${DB_URL:-postgresql://plex_user:plex_password@database:5432/plex_playlist}
|
|
ENVIRONMENT: production
|
|
depends_on:
|
|
database:
|
|
condition: service_healthy
|
|
|
|
frontend:
|
|
image: ${DEPLOYABLE_FRONTEND_IMAGE:-deployable-frontend:local}
|
|
depends_on:
|
|
backend:
|
|
condition: service_started
|
|
|
|
e2e-tests:
|
|
image: ${CICD_IMAGE:-cicd:local}
|
|
depends_on:
|
|
frontend:
|
|
condition: service_started
|
|
environment:
|
|
CI: "true"
|
|
PLAYWRIGHT_BASE_URL: http://frontend:80
|
|
PLAYWRIGHT_OUTPUT_DIR: /tmp/playwright-artifacts
|
|
PLAYWRIGHT_JUNIT_OUTPUT_FILE: /tmp/playwright-artifacts/playwright-results.xml
|
|
volumes:
|
|
- ${E2E_ARTIFACT_DIR:-./frontend/.playwright-artifacts}:/tmp/playwright-artifacts
|
|
command:
|
|
- bash
|
|
- -lc
|
|
- cd /workspace/frontend && yarn test:e2e --reporter=list --timeout=90000
|