release / go (push) Successful in 1m39s
release / web (push) Successful in 1m15s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m3s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m5s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 26s
release / Verify release artifacts (tag releases only) (push) Skipped
Test names, assertion messages and comments no longer cite internal task or rule numbers; each says the reason itself. The dev compose starts Minstrel after the database without a healthcheck to gate on, since Minstrel waits for its database at startup on its own. The published-names test is removed; that check is a local grep before publishing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
version: "3.9"
|
|
|
|
# Local development stack: `docker compose up --build`.
|
|
# The database tests use a separate minstrel_test database, so they never
|
|
# truncate your dev data. Run them with `make test-integration`.
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_USER: minstrel
|
|
POSTGRES_PASSWORD: minstrel
|
|
POSTGRES_DB: minstrel
|
|
networks:
|
|
- minstrel
|
|
# ports:
|
|
# - "5432:5432"
|
|
volumes:
|
|
- minstrel-pgdata:/var/lib/postgresql/data
|
|
# Creates minstrel_test on a fresh volume. On an existing volume,
|
|
# make test-integration creates it instead.
|
|
- ./deploy/initdb:/docker-entrypoint-initdb.d:ro
|
|
|
|
minstrel:
|
|
build: .
|
|
# Minstrel waits for the database itself at startup, so it needs no
|
|
# healthcheck to gate on.
|
|
depends_on:
|
|
- postgres
|
|
environment:
|
|
MINSTREL_DATABASE_URL: postgres://minstrel:minstrel@postgres:5432/minstrel?sslmode=disable
|
|
MINSTREL_LOG_FORMAT: text
|
|
MINSTREL_LIBRARY_SCAN_PATHS: /music
|
|
MINSTREL_LIBRARY_SCAN_ON_STARTUP: "true"
|
|
MINSTREL_STORAGE_DATA_DIR: /app/data
|
|
networks:
|
|
- minstrel
|
|
ports:
|
|
- "4533:4533"
|
|
volumes:
|
|
# Your test library, read-only so a scanner bug can't change your files.
|
|
- /mnt/Media/Music:/music:ro
|
|
# Artwork and caches, kept across container recreates.
|
|
- minstrel-data:/app/data
|
|
|
|
volumes:
|
|
minstrel-pgdata:
|
|
minstrel-data:
|
|
|
|
networks:
|
|
minstrel: |