From 856646ccde220fdb8e4fb9a57e0f6305358ef311 Mon Sep 17 00:00:00 2001 From: myrmidex Date: Sat, 2 May 2026 10:28:32 +0200 Subject: [PATCH] 27 - Fix CI MySQL health check: use mysql client instead of mysqladmin --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 69862fa..bf7fd95 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: MYSQL_USER: incr_user MYSQL_PASSWORD: incr_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: - uses: https://data.forgejo.org/actions/checkout@v4