fix: use podman-compose (installed via Homebrew) instead of podman compose
Build / build (push) Successful in 45s
Build / build (push) Successful in 45s
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user