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
Laurent Indermuehle
1e20611548
Re-activate all tests
2023-01-06 14:33:33 +01:00
Laurent Indermuehle
8d43f9e573
Refactor the way server_id is set for replicas
...
The simple way is to add '--server-id 2' after the name of the image of
the container. But GHA doesn't let us do that. The idea of mount a file
from our repo doesn't work because the repo is check out later in the
workflow and I failed to find a pre-job hook. Then I realized that this
MySQL option is dynamic! So we will set that in the test target!
2023-01-06 14:14:35 +01:00
Laurent Indermuehle
163a43ba80
Enclose command in quotes
2023-01-06 13:03:13 +01:00
Laurent Indermuehle
c5c32f7751
Attempt to fix "invalid syntax"
2023-01-06 13:01:37 +01:00
Laurent Indermuehle
10d497e2cc
Add tmate to debug the server_id in replicas
2023-01-06 12:58:22 +01:00
Laurent Indermuehle
19e9116803
Add back docker healthcheck on services
...
I saw in the GHA logs that it perform an healtcheck ! So I hope this
will work.
2023-01-06 12:57:55 +01:00
Laurent Indermuehle
987292669c
Re-enable service containers
2023-01-06 11:16:35 +01:00
Laurent Indermuehle
897cb087e7
Fix pre-test-cmd paste in wrong context
2023-01-06 10:30:25 +01:00
Laurent Indermuehle
168de6bcfb
Cut unused file
2023-01-06 10:06:53 +01:00
Laurent Indermuehle
7ba0dbd7b9
lint
2023-01-06 10:06:46 +01:00
Laurent Indermuehle
9d3ce94e4d
Re-enable integration tests to validate db_engine_version is fixed
2023-01-06 10:06:36 +01:00
Laurent Indermuehle
192680888c
Fix trailing newline and quote in db_engine_version
2023-01-06 10:05:56 +01:00
Laurent Indermuehle
a0a0493a0a
Disable tests to concentrate on the \n and quote issue with my files
2023-01-06 09:37:26 +01:00
Laurent Indermuehle
42fe4baf18
Fix tailing newline by not created it in the first place
2023-01-05 19:44:22 +01:00
Laurent Indermuehle
a271a9bcd2
Cut the newline added by lookup 'file'
2023-01-05 19:34:58 +01:00
Laurent Indermuehle
3a128019ca
Fix pre-test-cmd missing separators
2023-01-05 19:34:12 +01:00
Laurent Indermuehle
2efa3c42f9
Cut files from gitignore because it prevents ansible-test to copy them
2023-01-05 19:27:05 +01:00
Laurent Indermuehle
cac6af41bb
Fix volume path using github.workspace var
2023-01-05 19:19:18 +01:00
Laurent Indermuehle
9c1b13c7f9
Fix volume path using $(pwd)
2023-01-05 19:17:25 +01:00
Laurent Indermuehle
46972bbbb3
Fix volume path by adding a final /
2023-01-05 19:12:39 +01:00
Laurent Indermuehle
cb1d820452
Fix volume path
2023-01-05 19:10:51 +01:00
Laurent Indermuehle
95d26fab21
Add temporary files to .gitignore
2023-01-05 19:06:55 +01:00
Laurent Indermuehle
bc92ded791
Refactor test to use the db_version from setup_controller
2023-01-05 19:05:58 +01:00
Laurent Indermuehle
1de0f2ce77
Fix missing var
2023-01-05 19:05:02 +01:00
Laurent Indermuehle
98ce2af28c
Refactor way tests info are passed from sed to file with lookup
...
The idea is to avoid modifying test targets from the workflow to prevent
ansible-test to think every tests needs to be run.
2023-01-05 19:04:51 +01:00
Laurent Indermuehle
9da866a7bf
Refactor test_mysql_user to work with other host than localhost
2023-01-05 18:04:12 +01:00
Laurent Indermuehle
978676a6dc
Linting
2023-01-05 11:59:08 +01:00
Laurent Indermuehle
7cffcf3355
Add back a package to connect to MySQL 8+
2023-01-05 11:56:11 +01:00
Laurent Indermuehle
2af8e4f273
Fix server_id in GHA
...
GHA lack a way to pass option to docker's command. Also server_id is
not read as a environment variable. So I'm forced to use a config file.
2023-01-05 11:55:54 +01:00
Laurent Indermuehle
9e3010dd00
Fix test_mysql_role
2023-01-04 18:02:39 +01:00