ci: socket
Signed-off-by: Agnes Lin <agneslin.lin@ibm.com>
This commit is contained in:
parent
ca7e1424a4
commit
566965d882
|
@ -46,12 +46,14 @@ jobs:
|
||||||
mysql version: 5.7
|
mysql version: 5.7
|
||||||
mysql database: testdb
|
mysql database: testdb
|
||||||
mysql root password: root
|
mysql root password: root
|
||||||
|
mysql user: user # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
|
||||||
|
mysql password: pass
|
||||||
- name: Wait for MySQL
|
- name: Wait for MySQL
|
||||||
run: |
|
run: |
|
||||||
sudo systemctl start mysql
|
sudo systemctl start mysql
|
||||||
docker ps -a
|
docker ps -a
|
||||||
|
|
||||||
while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=$MYSQL_ROOT_PASSWORD --silent < ./test/schema.sql; do
|
while ! mysqladmin ping --host=127.0.0.1 --port 3000 --password=root --silent < ./test/schema.sql; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
docker container ls
|
docker container ls
|
||||||
|
|
Loading…
Reference in New Issue