Update mariadb to 10.6.8 in test matrix (#370)

* Update mariadb to 10.6.8 in test matrix

* try 10.8.3

* change tarball path

* Change tarball name

* Add mariadb 10.8

* Fix

* Fix

* Fix
This commit is contained in:
Andrew Klychkov 2022-06-24 13:50:19 +02:00 committed by GitHub
parent 0df46e0e67
commit b62a59cf5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -58,7 +58,9 @@ jobs:
- mysql_5.7.31
- mysql_8.0.22
- mariadb_10.3.34
- mariadb_10.5.9
# When adding later versions below,
# also change the "Set MariaDB URL sub dir" task
- mariadb_10.8.3
ansible:
- stable-2.11
- stable-2.12
@ -74,7 +76,7 @@ jobs:
exclude:
- db_engine_version: mysql_8.0.22
connector: pymysql==0.7.10
- db_engine_version: mariadb_10.5.9
- db_engine_version: mariadb_10.8.3
connector: pymysql==0.7.10
- python: 3.8
ansible: stable-2.11
@ -112,6 +114,11 @@ jobs:
sed -i -e "s/^mariadb_version:.*/mariadb_version: $DB_VERSION/g" -e 's/^mariadb_install: false/mariadb_install: true/g' ${{ env.mysql_version_file }}
if: ${{ startsWith(matrix.db_engine_version, 'mariadb') }}
- name: Set MariaDB URL sub dir
run: |
sed -i -e "s/^mariadb_url_subdir:.*/mariadb_url_subdir: linux-systemd/g" ${{ env.connector_version_file }}
if: matrix.db_engine_version == 'mariadb_10.8.3'
- name: Set Connector version (${{ matrix.connector }})
run: "sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}"

View file

@ -24,5 +24,6 @@ install_python_prereqs:
mysql_tarball: "mysql-{{ mysql_version }}-linux-glibc2.12-x86_64.tar.{{ mysql_compression_extension }}"
mysql_src: "https://dev.mysql.com/get/Downloads/MySQL-{{ mysql_major_version }}/{{ mysql_tarball }}"
mariadb_tarball: "mariadb-{{ mariadb_version }}-linux-x86_64.tar.gz"
mariadb_src: "https://downloads.mariadb.com/MariaDB/mariadb-{{ mariadb_version }}/bintar-linux-x86_64/{{ mariadb_tarball }}"
mariadb_url_subdir: "linux"
mariadb_tarball: "mariadb-{{ mariadb_version }}-{{ mariadb_url_subdir }}-x86_64.tar.gz"
mariadb_src: "https://downloads.mariadb.com/MariaDB/mariadb-{{ mariadb_version }}/bintar-{{ mariadb_url_subdir }}-x86_64/{{ mariadb_tarball }}"