Skip to content

Commit 219defe

Browse files
committed
add more debugging
1 parent bea86d7 commit 219defe

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,25 @@ jobs:
160160
run: |
161161
echo "=== Database Container Logs ==="
162162
docker compose logs db
163+
164+
- name: Debug - Test database connection
165+
run: |
166+
# Use a temporary container to test connection
167+
docker run --rm --network lucidata_default postgres:15 \
168+
pg_isready -h db -U lucidata
169+
echo "Connection result: $?"
163170
164171
- name: Start services with docker compose
165172
run: docker compose up -d
166173
env:
167174
COMPOSE_DOCKER_CLI_BUILD: 0
168175
DOCKER_BUILDKIT: 1
169176

177+
- name: Debug - API container logs
178+
run: |
179+
echo "=== API Container Logs ==="
180+
docker compose logs api
181+
170182
- name: Wait for services to be healthy
171183
run: |
172184
# Give services some time to start up

0 commit comments

Comments
 (0)