Laurent Indermuehle
454778406d
Change timeout from 10 to 30 seconds to let mysql/mariadb restart
2023-01-19 16:32:00 +01:00
Laurent Indermuehle
2254e72d6b
Cut playbook that are now handled by the test-containers
2023-01-19 13:56:58 +01:00
Laurent Indermuehle
db72c7948b
Fix assertion for older mysqlclient than 2.0.1 with mysql (mariadb ok)
2023-01-17 18:11:19 +01:00
Laurent Indermuehle
0e5f87e969
Cut tests for incompatible MySQL 8 and pymysql 0.7.11
2023-01-17 18:10:40 +01:00
Laurent Indermuehle
757e974fe5
Linting
2023-01-17 17:59:49 +01:00
Laurent Indermuehle
31d29057fa
Fix assertion for mariadb
2023-01-17 17:59:37 +01:00
Laurent Indermuehle
f9f185c050
Add names to tests
2023-01-17 13:29:10 +01:00
Laurent Indermuehle
73ee8f07c9
Add filter for issues resolved in newer version of mysqlclient
2023-01-17 13:29:03 +01:00
Laurent Indermuehle
06ed7374d7
Fix queries for roles
2023-01-17 10:46:56 +01:00
Laurent Indermuehle
075af8f956
Reduce number of tests and adapt containers images
2023-01-17 10:46:16 +01:00
Alexander Skiba
c242584bae
mysql_user: enabled autocommit to support MySQL 8 ( #483 )
...
* mysql_user: enabled autocommit to support MySQL 8
* Add changelog fragment
* Link to issue instead of pull request in changelog fragment
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2023-01-17 10:34:20 +01:00
Laurent Indermuehle
4d2a4ff01c
Fix test matrix
...
Python version should be quoted, otherwise 3.10 become 3.1
We can skip 2.14 and devel with Python3.8
We can skip devel with Python 3.9
We can skip MariaDB 10.4 with mysql-client-10.6
Add tests for MariaDB 10.6, 10.7 and 10.8
2023-01-16 20:49:45 +01:00
Laurent Indermuehle
47806f1a51
Add manual test matrix (MariaDB 10.6, 10.7 and 10.8 missing)
2023-01-16 17:17:34 +01:00
Andrew Klychkov
4ad71775a6
README: update Matrix badge ( #485 )
2023-01-16 12:46:31 +01:00
Laurent Indermuehle
8f0d1f5b14
Cut column-statistics disabling
...
Thanks to our test-container, we now use the correspond mysql-client.
So to test mysql 5.7 we use mysql-client-5.7 and to test mysql 8 we
use mysql-client-8.
2023-01-16 09:18:42 +01:00
Laurent Indermuehle
fbb0290e19
Fix ansible-test unknown option
...
I copied blindly https://github.com/ansible-collections/community.sops/blob/main/.github/workflows/ansible-test.yml#L195
and forgot what ansible-test was expecting
2023-01-16 09:16:50 +01:00
Laurent Indermuehle
5bc5ed1cee
Change tag of test-containers to latest
2023-01-16 08:43:57 +01:00
Laurent Indermuehle
9bfd0a3b28
Fix error when using local registry by using quay.io
2023-01-14 00:17:40 +01:00
Laurent Indermuehle
79ea9fe094
Cut forgotten comment
2023-01-13 17:05:57 +01:00
Laurent Indermuehle
05b5f627d7
Fix docker_container variable name
2023-01-13 17:05:44 +01:00
Laurent Indermuehle
db995249cb
Add PoC using custom ansible-test containers
2023-01-13 16:22:57 +01:00
Laurent Indermuehle
199b7a5b64
Simplify connector_name variables
2023-01-13 16:22:35 +01:00
Laurent Indermuehle
70e23b25da
Add a virtualenv for ansible-test used locally
2023-01-13 16:15:20 +01:00
Laurent Indermuehle
4f33b77b60
Enable all tests
2023-01-12 23:00:00 +01:00
Laurent Indermuehle
b6160f3a8c
Ensure replicas are healthy before rebooting them
2023-01-12 22:59:37 +01:00
Laurent Indermuehle
3c621ea28c
Fix Python 3.10 beein run as 3.1
2023-01-12 22:59:07 +01:00
Laurent Indermuehle
3b379d0837
Workaround for plugin role that fails with any MariaDB versions
2023-01-12 21:01:51 +01:00
Laurent Indermuehle
85f24bd8c6
Refactor to remove useless variables
2023-01-12 20:34:50 +01:00
Laurent Indermuehle
7fa1bf890b
Disable tests that fails only on MariaDB
2023-01-12 18:52:56 +01:00
Laurent Indermuehle
c3e079cb6f
Fix healthcheck in GHA
2023-01-12 18:52:42 +01:00
Laurent Indermuehle
4e0c048965
Refactor user@<gateway ip addr> into user@%
2023-01-12 18:52:28 +01:00
Laurent Indermuehle
39de75bebd
Use mysql_host var name instead of gateway_addr in tests
2023-01-12 18:49:12 +01:00
Laurent Indermuehle
3f0f4ffdf5
Add more descriptive tests names
2023-01-12 17:40:10 +01:00
Laurent Indermuehle
f79355f2b8
Add TODO verify that the version of mysql/mariadb is correct
2023-01-12 17:01:22 +01:00
Laurent Indermuehle
b9d0e96deb
Fix replication settings
...
sh don't know 'echo -e', so we use bash instead.
Also, we need to wait for the container to be healthy before trying to
restart it. Otherwise that could corrupt it.
2023-01-12 13:49:34 +01:00
Laurent Indermuehle
35531e741c
Add tmate to experiment with docker healthcheck
2023-01-12 13:20:31 +01:00
Laurent Indermuehle
ae41a50626
Add unique test names
2023-01-11 16:58:35 +01:00
Laurent Indermuehle
05a6589fc5
Document run_all_tests.py
2023-01-10 18:06:11 +01:00
Laurent Indermuehle
91e76d190e
Add unique test names
2023-01-10 18:03:16 +01:00
Laurent Indermuehle
a646e76e87
Add running make command for all tests of the matrix
2023-01-09 19:50:57 +01:00
Laurent Indermuehle
e8d7de4a64
Cut Ansible since we can't change what the user have on his computer
2023-01-09 19:50:25 +01:00
Laurent Indermuehle
f6e7b36d7c
Activate Mysql 8 and Mariadb into GitHub Action Workflow
2023-01-09 19:34:12 +01:00
Laurent Indermuehle
ce8d166259
Disable replication with channel tests entirely for MySQL 5.7
2023-01-09 19:33:24 +01:00
Laurent Indermuehle
0494de3f5c
Fix exclusion function
2023-01-09 19:06:41 +01:00
Laurent Indermuehle
671011352c
Add better task name
2023-01-09 19:01:21 +01:00
Laurent Indermuehle
fb72e4402d
Disable test for replication with chanel for mysql 5.7
2023-01-09 19:01:05 +01:00
Laurent Indermuehle
ec76110d12
Fix dump with mysqldump 8 against mysql 5.7
2023-01-09 18:59:09 +01:00
Laurent Indermuehle
7fc8339418
Add python script to recreate the test matrix from github workflow file
2023-01-09 18:58:28 +01:00
Laurent Indermuehle
d7db57c986
Lining
2023-01-09 17:01:59 +01:00
Laurent Indermuehle
47a4b49a91
Deduplicate tasks
2023-01-09 17:01:52 +01:00