ci: socket
Signed-off-by: Agnes Lin <agneslin.lin@ibm.com>
This commit is contained in:
parent
566965d882
commit
b315c27e00
|
@ -51,9 +51,10 @@ jobs:
|
||||||
- name: Wait for MySQL
|
- name: Wait for MySQL
|
||||||
run: |
|
run: |
|
||||||
sudo systemctl start mysql
|
sudo systemctl start mysql
|
||||||
|
sudo apt-get install -y mysql-client
|
||||||
docker ps -a
|
docker ps -a
|
||||||
|
|
||||||
while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=root --silent < ./test/schema.sql; do
|
while ! mysqladmin ping --host=127.0.0.1 --port 3000 -uroot --password=root --silent < ./test/schema.sql; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
docker container ls
|
docker container ls
|
||||||
|
|
Loading…
Reference in New Issue