mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 20:10:18 +02:00
[ticket/16659] Use volume for /var/run/mysqld
PHPBB3-16659
This commit is contained in:
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@@ -66,6 +66,7 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
options: >-
|
options: >-
|
||||||
|
-v /srv/docker/sockets/mariadb:/var/run/mysqld
|
||||||
--health-cmd="mysqladmin ping"
|
--health-cmd="mysqladmin ping"
|
||||||
--health-interval=10s
|
--health-interval=10s
|
||||||
--health-timeout=5s
|
--health-timeout=5s
|
||||||
|
@@ -22,6 +22,15 @@ then
|
|||||||
travis/setup-unbuffer.sh
|
travis/setup-unbuffer.sh
|
||||||
fi
|
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' ]
|
if [ "$MYSQL8" == '1' ]
|
||||||
then
|
then
|
||||||
travis/setup-mysql8.sh
|
travis/setup-mysql8.sh
|
||||||
|
Reference in New Issue
Block a user