fix: use 'podman compose' instead of 'podman-compose'
Build / build (push) Successful in 41s

This commit is contained in:
2026-05-23 20:18:25 +02:00
parent 08f539abd9
commit 7a3934babf
+4 -4
View File
@@ -94,16 +94,16 @@ podman-build:
@podman build -t music-server . @podman build -t music-server .
podman-run: podman-run:
@podman-compose up --build @podman compose up --build
podman-down: podman-down:
@podman-compose down @podman compose down
# Run integration tests with podman # Run integration tests with podman
# Starts a test PostgreSQL container, runs tests, then cleans up # Starts a test PostgreSQL container, runs tests, then cleans up
test-integration: test-integration:
@echo "Starting test database container..." @echo "Starting test database container..."
@podman-compose -f compose.test.yaml up -d @podman compose -f compose.test.yaml up -d
@sleep 10 @sleep 10
@echo "Running integration tests..." @echo "Running integration tests..."
@. .env.test && go test -v -timeout 30m ./... @. .env.test && go test -v -timeout 30m ./...
@@ -116,7 +116,7 @@ test-integration-tc:
# Stop and remove test database container # Stop and remove test database container
test-integration-down: test-integration-down:
@echo "Stopping test database container..." @echo "Stopping test database container..."
@podman-compose -f compose.test.yaml down -v @podman compose -f compose.test.yaml down -v
# Create DB container # Create DB container
docker-run: docker-run: