You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "Testing database connection from web container..."
58
+
docker compose exec -T web sh -c 'nc -z db 5432 && echo "✓ Database connection successful"'
59
+
60
+
echo "Testing Redis connection from web container..."
61
+
docker compose exec -T web sh -c 'nc -z redis 6379 && echo "✓ Redis connection successful"'
62
+
63
+
# Test that web service can start (basic health check)
64
+
echo "Testing web service startup..."
65
+
timeout 30 bash -c 'until curl -f http://localhost:3000 2>/dev/null || curl -f http://localhost:3000/health 2>/dev/null; do sleep 2; done' || echo "Web service may not have health endpoint, continuing..."
66
+
67
+
- name: Test runner container networking
68
+
run: |
69
+
cd packages/evals
70
+
71
+
echo "Testing runner container can connect to services..."
72
+
docker compose run --rm runner sh -c 'nc -z db 5432 && echo "✓ Runner -> Database connection successful"'
73
+
docker compose run --rm runner sh -c 'nc -z redis 6379 && echo "✓ Runner -> Redis connection successful"'
74
+
docker compose run --rm runner sh -c 'nc -z web 3000 && echo "✓ Runner -> Web service connection successful"'
75
+
76
+
- name: Verify Docker socket access
77
+
run: |
78
+
cd packages/evals
79
+
80
+
echo "Testing Docker socket access in runner..."
81
+
docker compose run --rm runner docker --version
82
+
docker compose run --rm runner docker ps
83
+
84
+
- name: Show service status
85
+
if: always()
86
+
run: |
87
+
cd packages/evals
88
+
echo "=== Service Status ==="
89
+
docker compose ps
90
+
91
+
echo "=== Network Information ==="
92
+
docker network ls | grep evals || echo "No evals network found"
93
+
94
+
echo "=== Container Information ==="
95
+
docker compose exec -T db sh -c 'echo "Database container hostname: $(hostname)"'
0 commit comments