27 - Fix CI MySQL health check: use mysql client instead of mysqladmin
This commit is contained in:
parent
36678b4b57
commit
856646ccde
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
MYSQL_USER: incr_user
|
MYSQL_USER: incr_user
|
||||||
MYSQL_PASSWORD: incr_password
|
MYSQL_PASSWORD: incr_password
|
||||||
MYSQL_ROOT_PASSWORD: root_password
|
MYSQL_ROOT_PASSWORD: root_password
|
||||||
options: --health-cmd="mysqladmin ping -u root -proot_password" --health-interval=10s --health-timeout=5s --health-retries=10
|
options: --health-cmd="mysql -u root -proot_password -e 'SELECT 1'" --health-interval=10s --health-timeout=5s --health-retries=12
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://data.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue