Skip to content

Commit f5082b5

Browse files
committed
Update workflow yml
1 parent af79c9a commit f5082b5

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/sandbox-validation.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ jobs:
9191
cd devops/sandbox
9292
./run.sh -c ${{ matrix.version }}
9393
94-
sleep 60 # Wait for containers to initialize
94+
echo "Waiting for Apache Cloudberry deployment to complete..."
95+
timeout 120 bash -c 'until docker logs cbdb-cdw 2>&1 | grep -q "DEPLOYMENT SUCCESSFUL"; do sleep 10; echo "Still waiting for deployment..."; done'
96+
echo "Deployment completed successfully!"
9597
timeout-minutes: 30
9698

9799
- name: Test database operations
@@ -162,8 +164,19 @@ jobs:
162164
./run.sh -c ${{ matrix.version }} -m
163165
164166
sleep 120 # Wait for containers to initialize
167+
echo "Waiting for Apache Cloudberry multi-node deployment to complete..."
168+
timeout 120 bash -c 'until docker logs cbdb-cdw 2>&1 | grep -q "DEPLOYMENT SUCCESSFUL"; do sleep 15; echo "Still waiting for multi-node deployment..."; done'
169+
echo "Multi-node deployment completed successfully!"
165170
timeout-minutes: 30
166171

172+
- name: Test SSH connectivity between nodes
173+
run: |
174+
echo "Testing SSH connectivity from coordinator to all nodes..."
175+
docker exec -u gpadmin cbdb-cdw bash -l -c "ssh -o StrictHostKeyChecking=no sdw1 'hostname'"
176+
docker exec -u gpadmin cbdb-cdw bash -l -c "ssh -o StrictHostKeyChecking=no sdw2 'hostname'"
177+
docker exec -u gpadmin cbdb-cdw bash -l -c "ssh -o StrictHostKeyChecking=no scdw 'hostname'"
178+
echo "✅ SSH connectivity test passed"
179+
167180
- name: Test database operations
168181
run: |
169182
echo "Waiting for database readiness (up to 60s)..."

0 commit comments

Comments
 (0)