mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
[ticket/16659] Use volume for /var/run/mysqld
PHPBB3-16659
This commit is contained in:
parent
5cbe25d415
commit
2cdebe57af
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -66,6 +66,7 @@ jobs:
|
||||
ports:
|
||||
- 3306:3306
|
||||
options: >-
|
||||
-v /srv/docker/sockets/mariadb:/var/run/mysqld
|
||||
--health-cmd="mysqladmin ping"
|
||||
--health-interval=10s
|
||||
--health-timeout=5s
|
||||
|
@ -22,6 +22,15 @@ then
|
||||
travis/setup-unbuffer.sh
|
||||
fi
|
||||
|
||||
if [ "$DB" == "mariadb" ]
|
||||
then
|
||||
ls -l /var/run | grep -i mysqld
|
||||
|
||||
if [ ! -f "/var/run/mysqld/mysqld.sock" ]; then
|
||||
ln -s /srv/docker/sockets/mariadb/mysqld.sock /var/run/mysqld/mysqld.sock
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$MYSQL8" == '1' ]
|
||||
then
|
||||
travis/setup-mysql8.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user