Skip to content

Commit

Permalink
WIP - let's check if the DB fails to start
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasgarciaisaia committed Mar 6, 2024
1 parent 5881688 commit 8e1f374
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
timeout 60s sh -c "while ! nc -z $(docker inspect planwise-db-1 | jq -r '.[0].NetworkSettings.Networks.planwise_default.IPAddress') 5432; do sleep 1; done" || true
docker inspect planwise-db-1
docker compose run --rm -e PGPASSWORD="${POSTGRES_PASSWORD}" db psql --host db --username planwise --list || true
docker compose ps
docker compose logs db
exit 1
- name: Set environment up
Expand Down

0 comments on commit 8e1f374

Please sign in to comment.