Merge "Upgrade Etherpad's MariaDB to 10.11"
This commit is contained in:
commit
a89fab4a40
@ -4,7 +4,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: docker.io/library/mariadb:10.4
|
||||
image: docker.io/library/mariadb:10.11
|
||||
network_mode: host
|
||||
restart: always
|
||||
environment:
|
||||
@ -12,6 +12,7 @@ services:
|
||||
MYSQL_DATABASE: etherpad-lite
|
||||
MYSQL_USER: "{{ etherpad_db_user }}"
|
||||
MYSQL_PASSWORD: "{{ etherpad_db_password }}"
|
||||
MARIADB_AUTO_UPGRADE: 1
|
||||
volumes:
|
||||
- /var/etherpad/db:/var/lib/mysql
|
||||
- /etc/etherpad/mysql:/etc/mysql/conf.d
|
||||
|
@ -34,7 +34,7 @@ def test_etherpad_logs(host):
|
||||
|
||||
mariadb_log_file = host.file('/var/log/containers/docker-mariadb.log')
|
||||
assert mariadb_log_file.exists
|
||||
assert mariadb_log_file.contains('mysqld: ready for connections')
|
||||
assert mariadb_log_file.contains('mariadbd: ready for connections.')
|
||||
|
||||
def test_etherpad_4_byte_utf8(host):
|
||||
# The 🖖 utf8 character is a four byte character. This test ensures we
|
||||
|
Loading…
Reference in New Issue
Block a user