File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 ${{ runner.os }}-cargo-integration-
9696
9797 - name : Start infrastructure services
98- run : docker compose up -d --wait clickhouse postgres redis
98+ run : docker compose up -d --wait --wait-timeout 120 clickhouse postgres redis
9999 env :
100100 CLICKHOUSE_PORT : " 8123"
101101 CLICKHOUSE_NATIVE_PORT : " 9000"
@@ -107,8 +107,19 @@ jobs:
107107
108108 - name : Verify service health
109109 run : |
110- echo "Checking ClickHouse..."
111- docker compose exec -T clickhouse wget --spider -q http://localhost:8123/ping
110+ for i in $(seq 1 30); do
111+ echo "Attempt $i/30: Checking ClickHouse..."
112+ if docker compose exec -T clickhouse wget --spider -q http://localhost:8123/ping 2>/dev/null; then
113+ echo "ClickHouse is ready."
114+ break
115+ fi
116+ if [ "$i" -eq 30 ]; then
117+ echo "ClickHouse failed to become healthy after 30 attempts."
118+ docker compose logs clickhouse
119+ exit 1
120+ fi
121+ sleep 3
122+ done
112123 echo "Checking PostgreSQL..."
113124 docker compose exec -T postgres pg_isready -U llmtrace
114125 echo "Checking Redis..."
Original file line number Diff line number Diff line change 3939/docs /book /
4040/target /
4141/test-results /
42- Cargo.lock
4342Thumbs.db
4443__pycache__ /
4544config.dev.yaml
You can’t perform that action at this time.
0 commit comments