Commit graph

458 commits

Author SHA1 Message Date
Laurent Indermuehle
c0e8077338
Add called workflow file in the GHA hooks
Without this, the containers are not rebuilt when you modify the file
built-docker-image.yml.
2023-03-07 17:44:32 +01:00
Laurent Indermuehle
48da254fab
Attempt to use a fixed repo name in the image name
My last attempts produced duplicates images under my name + repo name:
laurent-indermuehle/community.mysql. Previously I had only my name. And
none of the above are what we want. We want only community.mysql in the
image name...
2023-03-07 17:38:35 +01:00
Laurent Indermuehle
7218409f96
Fix cannot specify version when calling local workflows 2023-03-07 17:24:32 +01:00
Laurent Indermuehle
5c38fc7594
Fix path to use local workflow 2023-03-07 17:22:36 +01:00
Laurent Indermuehle
232e9fa8b9
Fix path to called workflow file 2023-03-07 17:19:21 +01:00
Laurent Indermuehle
a0805cc3fe
Refactor using reusable GHA workflows 2023-03-07 17:14:16 +01:00
Laurent Indermuehle
2462d61dc8
Move utility task files in their own folder 2023-03-07 16:22:36 +01:00
Laurent Indermühle
b30e8d8a88
Add better task name
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 14:00:21 +01:00
Laurent Indermühle
73ce044fa7
Lint
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 13:59:40 +01:00
Laurent Indermühle
92b47c0be9
Lint
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 13:59:29 +01:00
Laurent Indermühle
b6920d1980
Fix link URI
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 13:58:08 +01:00
Laurent Indermühle
ed79c6d684
Fix link URI
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 13:57:51 +01:00
Laurent Indermühle
f2e1bc8db5
Reformat file path
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 13:56:56 +01:00
Laurent Indermühle
896ad47d1d
Reformat spelling
Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@futurice.com>
2023-03-07 13:56:19 +01:00
Laurent Indermuehle
3af456107e
Cut the 3 from python command to follow shebang recommendations
https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/shebang.html
2023-03-03 17:08:51 +01:00
Laurent Indermuehle
1d983e96c5
Add disk and RAM requirements 2023-03-03 14:30:22 +01:00
Laurent Indermuehle
29fc0f7742
Change shebang from python to python3 to avoid confusion with python2
This script is a python3 script.
2023-03-03 14:26:15 +01:00
Laurent Indermuehle
0cbe258412
Comment unused variable 2023-03-03 14:25:24 +01:00
Laurent Indermuehle
cfa6b382aa
Add deletion of anonymous volumes associated with the container 2023-03-03 14:25:09 +01:00
Laurent Indermuehle
2e1fbcd4cf
Reformat command multiline to oneline 2023-03-03 14:24:04 +01:00
Laurent Indermuehle
0ef8552973
Add options to enforce recreate containers even if already exists 2023-03-03 14:23:08 +01:00
Laurent Indermuehle
7e2e5a3e94
Add full path to image to prevent podman asking which registry to use 2023-02-23 12:35:18 +01:00
Laurent Indermuehle
41cb5de320
Add create podman network for system missing it.
We saw that on a Fedora 33 with Podman 3.3.1, an old system. I didn't
find in which release the default network changed and maybe it's
defined in the Linux distribution. So in doubt I always attempt to
create the network.
2023-02-23 09:22:19 +01:00
Laurent Indermuehle
6288c8b0e3
Fix test connection to the database and tasks names 2023-02-21 17:44:24 +01:00
Laurent Indermuehle
4a5220105b
Merge branch 'main' into lie_tests_using_containers 2023-02-21 16:00:04 +01:00
Laurent Indermuehle
246df398d0
Fix user site-packages not visible in virtualenv 2023-02-21 13:19:38 +01:00
Laurent Indermuehle
9190df316c
Add forgotten variable to handle unsupported python version 2023-02-21 13:12:29 +01:00
Laurent Indermuehle
03a925f820
Fix variable assignation to the include task 2023-02-21 13:11:34 +01:00
Laurent Indermuehle
eadf0a6643
Fix cleanup task 2023-02-21 13:10:51 +01:00
Laurent Indermuehle
fedda296df
Add support for systems with unsupported python set as default 2023-02-21 11:40:04 +01:00
Laurent Indermuehle
7ae5225d85
Fix versions used in examples 2023-02-21 11:38:55 +01:00
Laurent Indermuehle
3bf867ae45
Document usage of continue_on_errors 2023-02-21 11:06:54 +01:00
Laurent Indermuehle
0f5dc50d6d
Fix installation of ansible venv
ansible-test is included in ansible package. Also, on Fedora 37 with
python 3.11, pip is missing. By using ensurepip we solve that issue.
2023-02-21 11:06:30 +01:00
Andrew Klychkov
9b8455c2e6
Fix sanity (#508)
* Fix sanity

* Remove as unnecessary
2023-02-14 09:57:44 +01:00
Laurent Indermuehle
8608208b53
Enhance testing documentation header 2023-02-13 17:21:10 +01:00
Daniel Ziegenberg
2f151dc8f4
change deprecated parameter pw and db (#177)
* change deprecated parameter pw to password

* change deprecated parameter db to database

* add changelog fragment

* Old plugin versions are no longer supported

* Use packaging version checking.

* Use stdlib version comparison

* Use parse_version from setuptools

* Revert to tuple/reduce version check

---------

Co-authored-by: Jorge-Rodriguez <jorge.rodriguez@futurice.com>
2023-02-10 09:47:12 +01:00
Markus Bergholz
9acbd55e44
prepare community.mysql 3.6.0 (#507) 2023-02-08 10:34:35 +01:00
Markus Bergholz
b34c23d07d
Fix revoke only grant (#503)
* fix

* test

* changelog
2023-02-08 09:24:35 +01:00
Paul Campbell
521443a671
Allow uppercase in variable names for Galera wsrep variables (#501)
* Allow uppercase in variable names for Galera wsrep variables

* Changelog fragment for regex change

* Corrected for excessive line lengths

* Update changelogs/fragments/mysql_variables_allow_uppercase_identifiers.yml

---------

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2023-02-04 08:31:00 +01:00
Laurent Indermuehle
740e3e6b8b
Fix test after merge of PR497 2023-02-01 15:21:23 +01:00
Laurent Indermuehle
4ff16b7d83
update docker image path to my personal repo
I'm unable to publish under community.mysql. Either it's the dot in
the name or I do something wrong with the GITHUB_TOKEN, but we need to
test my PR, so I'll use docker images from my fork for now.
2023-02-01 14:49:52 +01:00
Laurent Indermuehle
e583eb679b
Use apt-get instead of apt 2023-02-01 14:15:04 +01:00
Laurent Indermuehle
5afac35fe4
Use apt-get instead of apt that not have a stable CLI interface 2023-02-01 14:13:54 +01:00
Laurent Indermuehle
2ce768b880
Fix workflow to work both on fork and c.mysql repository 2023-02-01 14:03:46 +01:00
Laurent Indermuehle
87b9cf0f8c
Cut debugging from setup-buildx-action 2023-02-01 11:58:12 +01:00
Laurent Indermuehle
1ac543cc1e
Document why we use optional checkout action 2023-02-01 11:57:39 +01:00
Laurent Indermuehle
8f6fade63f
Sanitize the repository name using metadata-action
https://github.com/docker/build-push-action/blob/master/TROUBLESHOOTING.md#repository-name-must-be-lowercase
2023-02-01 11:57:23 +01:00
Laurent Indermuehle
f356eecce1
Cut dot in image name in attempt to fix buildx bad request 400 error 2023-02-01 11:44:32 +01:00
Alexander Skiba
b8d6474540
mysql_role: enable autocommit (#500)
* mysql_role: enable autocommit

* Add changelog fragment
2023-02-01 09:37:37 +01:00
Laurent Indermuehle
484699b57e
Bump setup-buildy-action to latest 2023-02-01 08:47:01 +01:00