chore(just): remove unnecessary dev-postgres-reset recipe
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
Daniel Lundin 2025-01-08 11:58:35 +01:00
parent ffe95cb83c
commit abd6748703
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -57,7 +57,7 @@ check-nix:
# Run PostgreSQL for development and testing
dev-postgres:
mkdir -p "$XDG_RUNTIME_DIR/patagia-postgres"
mkdir -p "${XDG_RUNTIME_DIR}/patagia-postgres"
podman volume exists patagia-postgres || podman volume create patagia-postgres
podman run \
--detach \
@ -67,12 +67,9 @@ dev-postgres:
--env POSTGRES_USER=patagia \
--env POSTGRES_PASSWORD=swordfish \
--volume patagia-postgres:/var/lib/postgresql/data \
--volume "$XDG_RUNTIME_DIR/patagia-postgres:/var/run/postgresql" \
--volume "${XDG_RUNTIME_DIR}/patagia-postgres:/var/run/postgresql" \
docker.io/postgres:17
# Reset PostgreSQL data and start
dev-postgres-reset: dev-postgres-clean dev-postgres
# Clean up PostgreSQL data
dev-postgres-clean:
podman rm -f patagia-postgres || true