Jelajahi Sumber

fix: Adjust healthcheck of MariaDB

David Höck 4 bulan lalu
induk
melakukan
b2761f6a9d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .github/workflows/build_and_test.yml

+ 1 - 1
.github/workflows/build_and_test.yml

@@ -88,7 +88,7 @@ jobs:
                     MARIADB_ROOT_PASSWORD: password
                     MARIADB_ROOT_PASSWORD: password
                 ports:
                 ports:
                     - 3306
                     - 3306
-                options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
+                options: --health-cmd="mariadb-admin ping -h localhost -u vendure -ppassword" --health-interval=10s --health-timeout=5s --health-retries=3
             mysql:
             mysql:
                 image: mysql:8.0
                 image: mysql:8.0
                 env:
                 env: