mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-04 09:40:31 -07:00
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:
parent
0df46e0e67
commit
b62a59cf5a
2 changed files with 12 additions and 4 deletions
11
.github/workflows/ansible-test-plugins.yml
vendored
11
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -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 }}"
|
||||
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue