Commit Graph

35 Commits

Author SHA1 Message Date
Faustin Lammler 72da21896c
Adapt testing to #55
#55 was missing molecule testing and verify step needs to be adapted.
2025-09-23 12:08:49 +02:00
Faustin Lammler 7980a82841
Mariabackup is fixed on Alpine 3.19, 3.20 and 3.21
See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16956
2025-09-02 12:12:20 +02:00
Faustin Lammler 512440fdd7
Segfault in mariabackup should now be fixed on Alpine >= 3.22 2025-08-26 15:32:22 +02:00
Faustin Lammler e76f6e44b1
Ansible syntax has changed apparently 2025-08-25 11:44:03 +02:00
Faustin Lammler a745c5e0b7
Fix MDBF repo deployments on Fedora
Installing mariadb-backup with MariaDB-server is not working on Fedora
41 (it will install OS version). So, adapt the role so that we can use
case sensitive packages name. Also 10.11 was not provided for Fedora 41.
2025-07-02 15:49:41 +02:00
Faustin Lammler 0484137c3c
Disable check for Alpine Linux until segfault is fixed 2025-05-20 16:17:09 +02:00
Faustin Lammler 0a67aaf6e3
Add backup step in verify
Motivated by the segfault on Alpine Linux:
https://jira.mariadb.org/browse/MDEV-34388
2025-05-20 16:00:19 +02:00
Faustin Lammler e6fa74ff97
Fix molecule roles searching
And clean some remaining `pip install` stuff in favor of `uv pip`.
2025-01-29 11:11:48 +01:00
Faustin Lammler 8be1a71c99
Verification that users are created missing
This makes sure that the CI also verifies that creating users during
deployment works.
2025-01-10 14:27:03 +01:00
Kalle Kiviaho fc7808ace5 Add support for resource_limits when creating database users 2025-01-10 13:49:16 +01:00
Faustin Lammler 97ee0a5b43
Adapt verify for rc/rolling release 2024-05-16 10:13:37 +02:00
Faustin Lammler f4383de850
Fix ansible warning
[WARNING]: conditional statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: datadir.stat.pw_name == "{{
mariadb_user }}"
2024-02-13 10:08:12 +01:00
Faustin Lammler f7c3a8f2e5
Make the role compatible with Alpine linux
Should be compatible with:
- 3.17
- 3.18
2023-09-26 18:16:09 +02:00
jo 5084b252f1
Don't use template delimiters in conditions 2022-12-16 16:15:31 +01:00
Faustin Lammler 343ec6ef8e
Fetch images from ghcr.io 2022-12-15 12:56:12 +01:00
Faustin Lammler 63e261ea01
Be less verbose in CI 2022-11-15 10:14:56 +01:00
Faustin Lammler c64038d6d9
Implement MDBF cluster deployment
Add a new CI task to deploy MDBF MariaDB versions in a cluster.
2022-10-14 10:45:18 +02:00
Faustin Lammler a7989e042d
Remove master namming 2022-10-12 18:56:15 +02:00
Faustin Lammler 904a107ae1
Add cluster testing in CI (close #26) 2022-10-12 18:55:53 +02:00
Faustin Lammler 90c31bf3c2
Add rhel based distro support
Move from testinfra to ansible verifier.
2022-10-11 18:14:23 +02:00
Faustin Lammler 5c512ae308
Add 10.10 and remove mysql command
For some reason, 10.3 MDBF version does not come with mariadb commands,
thus disabling it.
2022-09-29 13:09:35 +02:00
Faustin Lammler 6a83d518c2
Increase test coverage for MDBF versions 2022-06-08 11:40:19 +02:00
Faustin Lammler 14962b1f59
Adapt to new MDBF mirror 2022-03-31 10:28:16 +02:00
Faustin Lammler 1b70ba6862
Move repo to mirror redirector 2022-03-01 09:12:11 +01:00
TheGuyDanish 10f6628036 Ansible 2.12 compatibility
Changed Python identification variable, fixes #15.
Replaced deprecated terms in replication tasks.
Removed hard-coded interpreter variable from tests.
2022-02-03 11:42:54 +00:00
Faustin Lammler 7ed6078daf
Make archive.mariadb.org the default mirror 2021-11-12 15:11:09 +01:00
Faustin Lammler c70f3b8beb
Target new Debian stable version by default 2021-11-01 13:13:11 +01:00
Faustin Lammler bbef00b4b1
Broken mirror 2021-10-20 11:06:30 +02:00
Faustin Lammler 4185f44164
Improve molecule options
Thanks @DanNixon for that tip!
2021-06-29 09:46:27 +02:00
Faustin Lammler e19b7b0365
Upgrading mariadb recreate my.cnf symlink
Upgrading mariadb will recreate my.cnf symlink so it's better to use
mariadb.cnf as the default configuration file.

+ add skip-name-resolve option by default
+ logging option was ignored

squash

s
2021-06-25 11:32:56 +02:00
Faustin Lammler a1b7da4f5b
Using podman for github actions
Docker and systemd does not work.
Also, it's using sudo for the moment because the rootless container does
not work with GH actions (see:
https://github.com/actions/virtual-environments/issues/3536).
2021-06-22 12:16:17 +02:00
Faustin Lammler 68a94b3ca1
Move from Travis CI to GH actions
Add molecule steps to check installation from MariaDB Foundation
repositories.
2021-05-25 17:15:03 +02:00
Faustin Lammler 2cf069db27
Pre-task ignored in docker/podman context
For CI to pass, it's better to always apt-get cache.
2020-11-04 12:16:13 +01:00
Faustin Lammler 505d6ca16f
Add a switch to use podman instead of docker 2020-10-20 17:37:16 +02:00
Faustin Lammler 12ebef99b1
Import role from old project
- lots of improvements and simplifications.
2020-05-27 14:49:07 +02:00