From 6885699f2cce3c87fb30a11112e6be6e85de5c4b Mon Sep 17 00:00:00 2001 From: Natan Felles Date: Wed, 21 Jun 2023 17:32:05 -0300 Subject: [PATCH] Update mariadb services --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4570faf..341ab79 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,11 +18,13 @@ jobs: mariadb: image: mariadb env: + MARIADB_MYSQL_LOCALHOST_USER: 1 + MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE MYSQL_DATABASE: framework-tests MYSQL_ROOT_PASSWORD: password ports: - 3306:3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 memcached: image: memcached @@ -94,11 +96,13 @@ jobs: mariadb: image: mariadb env: + MARIADB_MYSQL_LOCALHOST_USER: 1 + MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE MYSQL_DATABASE: framework-tests MYSQL_ROOT_PASSWORD: password ports: - 3306:3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 memcached: image: memcached