We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e93185 commit 2916618Copy full SHA for 2916618
.github/workflows/docker-build.yml
@@ -128,7 +128,7 @@ jobs:
128
129
# Wait for DB to be ready
130
echo "Waiting for database to be ready..."
131
- timeout 60s bash -c 'until docker exec cws-db mysqladmin -uroot -ptest ping -h localhost; do sleep 2; done'
+ timeout 60s bash -c 'until docker exec cws-db mysql -u root -ptest -e "SELECT 1;" >/dev/null 2>&1; do sleep 2; echo "Still waiting for database..."; done'
132
133
# Wait for ElasticSearch to be ready
134
echo "Waiting for Elasticsearch to be ready..."
0 commit comments