#
MariaDB
MariaDB is NOT installed as it conflicts with MySQL.
Uninstall MySQL then install MariaDB using the .turbo_test.toml
configuration below.
.turbo_test.toml
[base_image]
commands = '''
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-* libmariadb3 mariadb-client mariadb-common mariadb-server -yq
sudo curl --silent -LsSo /etc/apt/trusted.gpg.d/mariadb-keyring-2019.gpg https://supplychain.mariadb.com/mariadb-keyring-2019.gpg
sudo add-apt-repository --remove 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.11/ubuntu jammy main' -y
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/11.2/ubuntu jammy main' -y
sudo apt-get update -y
sudo apt-get install --no-install-recommends -qy \
libmariadb3 \
mariadb-client \
mariadb-common \
mariadb-server
echo 'skip-grant-tables' | sudo tee -a /etc/mysql/mariadb.conf.d/50-server.cnf
sudo systemctl disable --now mariadb.service
'''
[before_test_run]
commands = '''
sudo systemctl start mariadb
'''
.turbo_test.toml
[base_image]
commands = '''
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-* libmariadb3 mariadb-client mariadb-common mariadb-server -yq
sudo curl --silent -LsSo /etc/apt/trusted.gpg.d/mariadb-keyring-2019.gpg https://supplychain.mariadb.com/mariadb-keyring-2019.gpg
sudo add-apt-repository --remove 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/11.2/ubuntu jammy main' -y
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.11/ubuntu jammy main' -y
sudo apt-get update -y
sudo apt-get install --no-install-recommends -qy \
libmariadb3 \
mariadb-client \
mariadb-common \
mariadb-server
echo 'skip-grant-tables' | sudo tee -a /etc/mysql/mariadb.conf.d/50-server.cnf
sudo systemctl disable --now mariadb.service
'''
[before_test_run]
commands = '''
sudo systemctl start mariadb
'''
Don't forget to verify your configuration locally before pushing to GitHub.