Generalize mysql and mariadb version based on container name

This way we can split db_engine and db_version and simplify tests.
Also this is mandatory to use the matrix.db_engine_version as the
image name for our services containers.
This commit is contained in:
Laurent Indermuehle 2023-01-04 14:14:13 +01:00
commit b821db97c5
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
13 changed files with 158 additions and 190 deletions

View file

@ -1,18 +1,5 @@
dbdeployer_version: 1.64.0
dbdeployer_home_dir: /opt/dbdeployer
---
home_dir: "{{ playbook_dir }}/root"
mariadb_install: false
mysql_version: 8.0.22
mariadb_version: 10.5.4
db_engine_version: mysql:8.0.22
mysql_base_port: 3306
percona_client_package: >-
{%- if mariadb_install -%}
mariadb-client
{%- else -%}
percona-server-client-5.7
{%- endif -%}
python_packages: [pymysql == 0.9.3]