File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,10 @@ jobs:
4141 ports :
4242 - 3306
4343 env :
44+ MARIADB_ROOT_PASSWORD : root
45+ MARIADB_DATABASE : with_advisory_lock_trilogy_test
4446 MARIADB_USER : with_advisory
4547 MARIADB_PASSWORD : with_advisory_pass
46- MARIADB_DATABASE : with_advisory_lock_trilogy_test
47- MARIADB_ROOT_PASSWORD : root_pass
48- MARIADB_MYSQL_LOCALHOST_USER : 1
49- MARIADB_MYSQL_LOCALHOST_GRANTS : USAGE
50- options : >-
51- --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized"
52- --health-interval=10s
53- --health-timeout=5s
54- --health-retries=10
5548 strategy :
5649 fail-fast : false
5750 matrix :
7669 bundler-cache : true
7770 rubygems : latest
7871
79- - name : Wait for MariaDB
80- run : |
81- until nc -z 127.0.0.1 ${{ job.services.mariadb.ports[3306] }}; do
82- echo "Waiting for MariaDB to be ready..."
83- sleep 1
84- done
85- echo "MariaDB is ready"
8672
8773 - name : Setup test databases
8874 env :
You can’t perform that action at this time.
0 commit comments