Commit graph

113 commits

Author SHA1 Message Date
Laurent Indermuehle
d300f724aa
Second attempt to add the workflow to the Action tab 2023-01-25 09:42:59 +01:00
Laurent Indermuehle
30380d58c4
Attempt to add the workflow to the Action tab 2023-01-25 09:40:26 +01:00
Laurent Indermuehle
51dc695426
Add '-client' to the block title to better explain what it is 2023-01-25 09:20:04 +01:00
Laurent Indermuehle
829cff6030
Cut mariadb non long term releases 2023-01-25 09:17:55 +01:00
Laurent Indermuehle
4fed2e2413
Cut Docker Image workflow's filter for branch from my fork 2023-01-23 22:31:05 +01:00
Laurent Indermuehle
9637ec863b
Rename registry from fork to upstream 2023-01-23 22:29:54 +01:00
Laurent Indermuehle
39969f8298
Enable back push and schedule workflow 2023-01-23 22:29:04 +01:00
Laurent Indermuehle
d951a4718f
Cut matrix from when build was done in a single workflow 2023-01-23 09:44:27 +01:00
Laurent Indermuehle
095ed0ad2e
Split Docker image workflow to rebuild only changed Dockerfile
My goal is not to save the planet but to make it work. Currently
docker/setup-buildx-action@v2 often fails. You have to rerun the
workflow multiple times until it succeed. When you do that with the
matrix with 15 containers, you never get to the point where they all
built successfully. Having separate workflows makes rerun the failing
build easier.
2023-01-23 09:18:36 +01:00
Laurent Indermuehle
a409445ba2
Fix image not found 2023-01-23 08:31:57 +01:00
Laurent Indermuehle
7a0956fdcb
Enable back sanity and unit tests 2023-01-20 19:00:59 +01:00
Laurent Indermuehle
23dd5a5423
Cut tests that was excluded in previous matrix 2023-01-20 19:00:05 +01:00
Laurent Indermuehle
41b408d71f
Fix indentation 2023-01-20 18:53:55 +01:00
Laurent Indermuehle
20965d2fa2
Cut test MySQL 8 with incompatible pymysql 0.7.11
It fails to connect with error about cryptography unsupported
2023-01-20 18:43:14 +01:00
Laurent Indermuehle
d9d48eba0d
Disable tests using pymysql 1.0.2
Many tests are failing but this must be fixed in the plugins in a future
PR.
2023-01-20 18:21:29 +01:00
Laurent Indermuehle
069eba9c6a
Add tag 'latest' to images 2023-01-20 14:18:44 +01:00
Laurent Indermuehle
163048bd04
Fix container name 2023-01-20 14:12:36 +01:00
Laurent Indermuehle
e90876292e
Cut unused images 2023-01-20 13:48:01 +01:00
Laurent Indermuehle
c59e5418ce
Add back all tests using ghcr.io images 2023-01-20 13:47:50 +01:00
Laurent Indermuehle
7a806078cf
Workaround failed to push ghcr.io
Error was: failed to copy: io: read/write on closed pipe
2023-01-20 13:35:14 +01:00
Laurent Indermuehle
eadb216603
Fix context path 2023-01-20 13:09:15 +01:00
Laurent Indermuehle
5ba5ab049f
Fix workflow title 2023-01-20 13:07:28 +01:00
Laurent Indermuehle
9fd0d8b202
Change docker-image workflow to work on all images using matrix 2023-01-20 10:42:53 +01:00
Laurent Indermuehle
fbbb7003dc
Add ghcr.io image for mariadb10.3 python3.8 mysqlclient2.0.1 2023-01-20 10:17:46 +01:00
Laurent Indermuehle
f52410ddef
Cut addition of tag 'latest' as GHA does it automatically 2023-01-20 10:16:41 +01:00
Laurent Indermuehle
3686637765
Add missing slash 2023-01-20 10:12:27 +01:00
Laurent Indermuehle
1aa7cc97e7
Fix insufficient context 2023-01-20 10:10:09 +01:00
Laurent Indermuehle
535b2f7e04
Add latest tag 2023-01-20 10:07:10 +01:00
Laurent Indermuehle
f4b1e0f951
Fix env not recognized in the 'on' clause 2023-01-20 09:57:18 +01:00
Laurent Indermuehle
e398071ab3
Add trigger on workflow file edit 2023-01-20 09:55:44 +01:00
Laurent Indermuehle
f663ee6fb9
Add latest release of actions and with a context 2023-01-20 09:53:05 +01:00
Laurent Indermuehle
a849f92e2e
Attempt to build and publish an image on ghcr.io 2023-01-20 09:32:59 +01:00
Laurent Indermuehle
6bc293a022
Add a verify stage at setup of test to assert all version are correct 2023-01-19 16:37:06 +01:00
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
0e5f87e969
Cut tests for incompatible MySQL 8 and pymysql 0.7.11 2023-01-17 18:10:40 +01:00
Laurent Indermuehle
075af8f956
Reduce number of tests and adapt containers images 2023-01-17 10:46:16 +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
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
db995249cb
Add PoC using custom ansible-test containers 2023-01-13 16:22:57 +01:00
Laurent Indermuehle
4f33b77b60
Enable all tests 2023-01-12 23:00:00 +01:00
Laurent Indermuehle
3c621ea28c
Fix Python 3.10 beein run as 3.1 2023-01-12 22:59:07 +01:00
Laurent Indermuehle
c3e079cb6f
Fix healthcheck in GHA 2023-01-12 18:52:42 +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
f6e7b36d7c
Activate Mysql 8 and Mariadb into GitHub Action Workflow 2023-01-09 19:34:12 +01:00
Laurent Indermuehle
671011352c
Add better task name 2023-01-09 19:01:21 +01:00
Laurent Indermuehle
f8390aa50f
Fix mysqlclient not supporting Python 3.9 2023-01-09 11:25:17 +01:00