mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-01 19:54:26 -07:00
* Fix mariadb test setup
* Update mysql src URL
* Add changelog fragment
* Update 491_fix_download_url.yaml
Sanity test failed because minor_changes in not an element of a list.
* Fix casing
Co-authored-by: Laurent Indermühle <laurent.indermuehle@pm.me>
(cherry picked from commit 00fa058a18
)
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
This commit is contained in:
parent
090cab98a4
commit
c9dc6cd4eb
3 changed files with 10 additions and 9 deletions
14
.github/workflows/ansible-test-plugins.yml
vendored
14
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -93,14 +93,12 @@ jobs:
|
|||
DB_ENGINE_PRETTY=$([[ "${DB_ENGINE}" == 'mysql' ]] && echo 'MySQL' || echo 'MariaDB');
|
||||
>&2 echo Matrix factor for the DB is ${{ matrix.db_engine_version }}...;
|
||||
>&2 echo Setting ${DB_ENGINE_PRETTY} version to ${DB_VERSION}...;
|
||||
sed -i -e "s/^${DB_ENGINE}_version:.*/${DB_ENGINE}_version: $DB_VERSION/g" -e 's/^mariadb_install: false/mariadb_install: true/g' '${{ env.mysql_version_file }}';
|
||||
${{
|
||||
matrix.db_engine_version == 'mariadb_10.8.3'
|
||||
&& format(
|
||||
'>&2 echo Set MariaDB v10.8.3 URL sub dir...; sed -i -e "s/^mariadb_url_subdir:.*/mariadb_url_subdir: linux-systemd/g" "{0}";', env.connector_version_file
|
||||
)
|
||||
|| ''
|
||||
}}
|
||||
sed -i -e "s/^${DB_ENGINE}_version:.*/${DB_ENGINE}_version: $DB_VERSION/g" '${{ env.mysql_version_file }}';
|
||||
if [[ ${{ matrix.db_engine_version }} == mariadb* ]];
|
||||
then
|
||||
echo Set MariaDB install flag...; sed -i -e "s/^mariadb_install: false/mariadb_install: true/g" '${{ env.mysql_version_file }}';
|
||||
echo Set MariaDB v10.8.3 URL sub dir...; sed -i -e "s/^mariadb_url_subdir:.*/mariadb_url_subdir: linux-systemd/g" '${{ env.connector_version_file }}';
|
||||
fi;
|
||||
>&2 echo Setting Connector version to ${{ matrix.connector }}...;
|
||||
sed -i 's/^python_packages:.*/python_packages: [${{ matrix.connector }}]/' ${{ env.connector_version_file }}
|
||||
target-python-version: ${{ matrix.python }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue