File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 46
46
services :
47
47
singlestore :
48
48
# check for new versions at https://hub.docker.com/r/singlestore/cluster-in-a-box/tags
49
- image : singlestore/cluster-in-a-box:alma-7.8.2-8c7b918527 -4.0.5 -1.13.6
49
+ image : singlestore/cluster-in-a-box:alma-7.8.6-4f052c9b50 -4.0.7 -1.13.8
50
50
ports :
51
51
- " 3306:3306"
52
52
env :
82
82
83
83
- name : Wait for SingleStore to start
84
84
run : |
85
+ attempts=0
85
86
until mysql -h 127.0.0.1 -u root -ptest -e "select 1"; do
86
87
echo "waiting for mysql..."
88
+ ((attempts=attempts+1))
89
+ if [[ $attempts -gt 5 ]]; then
90
+ docker logs $(docker ps -ql)
91
+ fi
87
92
sleep 1
88
93
done
89
94
@@ -101,4 +106,4 @@ jobs:
101
106
DB_DATABASE : test
102
107
DB_USERNAME : root
103
108
DB_PASSWORD : test
104
- DB_HOST : 127.0.0.1
109
+ DB_HOST : 127.0.0.1
You can’t perform that action at this time.
0 commit comments