This commit is contained in:
parent
c63b553bc2
commit
fe50b09cf3
|
@ -2,7 +2,7 @@ pipeline:
|
|||
wait_db:
|
||||
image: gitnet.fr/deblan/timeout:latest
|
||||
commands:
|
||||
- /bin/timeout -t 30 -v -c 'while true; do nc -z -v db 3306 | grep succeeded && exit 0; sleep 0.5; done'
|
||||
- /bin/timeout -t 30 -v -c 'while true; do nc -z -v db 3306 2>&1 | grep succeeded && exit 0; sleep 0.5; done'
|
||||
|
||||
create_db:
|
||||
image: mariadb:10.3
|
||||
|
|
Loading…
Reference in a new issue