File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ jobs:
2323 - 3306:3306
2424 env :
2525 MYSQL_ROOT_PASSWORD : root
26- options : ${{ matrix.SQL_OPTIONS }}
26+ options : ${{ matrix.SQL_OPTIONS }} --health-interval=10s --health-timeout=5s --health-retries=3
2727 container :
2828 image : domjudge/gitlabci:24.04
2929 strategy :
3030 matrix :
3131 PHPVERSION : [8.1]
3232 TEST : [UNIT,E2E]
3333 CRAWL_SHADOW_MODE : [0]
34- SQL_OPTIONS : [--health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 ]
34+ SQL_OPTIONS : [--health-cmd="healthcheck.sh --connect --innodb_initialized"]
3535 include :
3636 - PHPVERSION : 8.4
3737 TEST : UNIT
3838 SQL : mysql
39- SQL_OPTIONS : --mysql-native-password --authentication_policy=mysql_native_password
39+ SQL_OPTIONS : --health-cmd="mysqladmin ping"
4040 runs-on : ubuntu-latest
4141 steps :
4242 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments