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
Laurent Indermuehle
7049a280cb
Refactor setup_mysql into setup_controller
2023-01-04 17:29:06 +01:00
Laurent Indermuehle
405b809a86
Linting
2023-01-04 17:17:53 +01:00
Laurent Indermuehle
1c863da888
Simplify version computation
2023-01-04 17:17:31 +01:00
Laurent Indermuehle
17f8ecef35
Fix replication due to usage of gateway_addr instead of localhost
2023-01-04 17:16:54 +01:00
Laurent Indermuehle
72b3ecb6da
Fix database not selected
2023-01-04 17:16:37 +01:00
Laurent Indermuehle
87acd3d303
Add static test with replication containers
2023-01-04 17:16:29 +01:00
Laurent Indermuehle
1e03a259fb
Fix replication server_id already in use
2023-01-04 17:16:03 +01:00
Laurent Indermuehle
c3458f4823
Cut docker healthcheck unsupported by GHA
2023-01-04 17:10:37 +01:00