Commit graph

13 commits

Author SHA1 Message Date
Laurent Indermuehle
2e56d5b53b
Add option to run only a single target 2023-01-06 18:07:16 +01:00
Laurent Indermuehle
7f69ead2a3
Attempt to set log-bin into docker 2023-01-06 18:00:30 +01:00
Laurent Indermuehle
3f64fb5f32
Add options to the makefile 2023-01-06 16:12:27 +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
9d3ce94e4d
Re-enable integration tests to validate db_engine_version is fixed 2023-01-06 10:06:36 +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
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
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
87acd3d303
Add static test with replication containers 2023-01-04 17:16:29 +01:00
Laurent Indermuehle
d98aa89ada
Cut target filtering 2022-12-09 15:22:41 +01:00
Laurent Indermuehle
d781636f32
Add healthcheck to MariaDB before starting the tests
This prevent the first test to fail because the db isn't ready yet.
2022-12-09 15:22:40 +01:00
Laurent Indermuehle
86188a20aa
Draft: Add a mariadb container 2022-12-09 15:22:40 +01:00