Commit graph

314 commits

Author SHA1 Message Date
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
Laurent Indermuehle
a3c67c31d1
Add unique name to simplify debugging 2023-01-09 17:01:33 +01:00
Laurent Indermuehle
9cb404b17b
Fix mysql_dump for MySQL 5.7 and MariaDB when using mysqldump 8 2023-01-09 17:00:41 +01:00
Laurent Indermuehle
b973849b53
Add unique name to simplify debugging 2023-01-09 15:43:31 +01:00
Laurent Indermuehle
6adb71a3ea
Linting 2023-01-09 15:40:55 +01:00
Laurent Indermuehle
a473e06e57
Enhance installation of mysql_client
Initially I wanted to install mysql-client-5.7 to test mysql server 5.7
but this package is not available for Ubuntu 18+.
I keep those changes because it allow us to specify the name of the
package based on the Ubuntu version.
2023-01-09 15:39:18 +01:00
Laurent Indermuehle
f8390aa50f
Fix mysqlclient not supporting Python 3.9 2023-01-09 11:25:17 +01:00
Laurent Indermuehle
2e56d5b53b
Add option to run only a single target 2023-01-06 18:07:16 +01:00
Laurent Indermuehle
4abb304bed
Github complain it doesn't find python 3.1 !!! 2023-01-06 18:04:49 +01:00
Laurent Indermuehle
ae0976cedf
Fix newline 2023-01-06 18:02:21 +01:00
Laurent Indermuehle
ae48ac7d0c
Document that full version is mandatory 2023-01-06 18:01:07 +01:00
Laurent Indermuehle
ac748983f8
Reformat for readability 2023-01-06 18:00:57 +01:00
Laurent Indermuehle
7f69ead2a3
Attempt to set log-bin into docker 2023-01-06 18:00:30 +01:00
Laurent Indermuehle
bcca4e832b
Cut python 3.11 not supported by ansible-test yet 2023-01-06 17:59:06 +01:00
Laurent Indermuehle
98dbc1e1ec
Add IF NOT EXISTS to prevent misleading error on retry 2023-01-06 16:13:24 +01:00
Laurent Indermuehle
0b6569d55a
Add same variables as other target for consistency 2023-01-06 16:13:08 +01:00
Laurent Indermuehle
3f64fb5f32
Add options to the makefile 2023-01-06 16:12:27 +01:00
Laurent Indermuehle
9001b87c6b
Update version tested 2023-01-06 16:11:43 +01:00
Laurent Indermuehle
9b7fbdfe5e
Linting 2023-01-06 14:34:16 +01:00
Laurent Indermuehle
994c6efab1
Use same variable as other target for consistency 2023-01-06 14:34:04 +01:00
Laurent Indermuehle
06ca921577
Cut useless task 2023-01-06 14:33:46 +01:00