From f29a30d94b615c4e4f3bc9e5aedc4f47db75dd6d Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Mon, 19 Jun 2023 19:50:00 +0200 Subject: [PATCH] fix(ci): replace healthcheck command According to https://github.com/MariaDB/mariadb-docker/issues/512#issuecomment-1588619808 the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth --- .github/workflows/e2e-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index b17b51a86..c3fbb4c84 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -63,7 +63,9 @@ jobs: MYSQL_PASSWORD: hedgedoc MYSQL_DATABASE: hedgedoc MYSQL_ROOT_PASSWORD: hedgedoc - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10 + MARIADB_MYSQL_LOCALHOST_USER: 1 + MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE + options: --health-cmd "healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval 10s --health-timeout 5s --health-retries 10 ports: - 3306:3306 steps: