Commit Graph

235 Commits

Author SHA1 Message Date
Faustin Lammler bb36a8ba86
Bump pre-commit tools version 2023-03-01 16:02:39 +01:00
Faustin Lammler deead87643
Role is now compatible not only with Debian/Ubuntu 2023-03-01 15:58:20 +01:00
Faustin Lammler aaea411180
Bump pre-commit tools version 2023-02-09 12:15:36 +01:00
Faustin Lammler 28047d99a2
10.5 is no more installable on Debian Sid
See: https://jira.mariadb.org/browse/MDEV-30322
2023-01-10 09:00:48 +01:00
faust f51274c475
Merge pull request #31 from jooola/use_signed_by
Follow Debian third party repository best practices
2022-12-19 12:21:54 +01:00
jo 0766f242f2
Add deb822 sources for mariadb repository
See:
- https://repolib.readthedocs.io/en/latest/deb822-format.html
- https://wiki.debian.org/DebianRepository/UseThirdParty
2022-12-16 16:23:31 +01:00
jo 2fe30b3116
Enable signed-by in debian repository source.list 2022-12-16 16:19:21 +01:00
jo 86e436f161
Fix sid distribution release repositories
On Debian sid, ansible collected the following facts:
  "ansible_distribution": "Debian",
  "ansible_distribution_major_version": "n/a",
  "ansible_distribution_release": "bookworm",
  "ansible_distribution_version": "n/a",

While on debian bullseye (current stable), it collected:
  "ansible_distribution": "Debian",
  "ansible_distribution_major_version": "11",
  "ansible_distribution_release": "bullseye",
  "ansible_distribution_version": "11.5",

We assume that sid will never have a distribution version, so we
set the distribution release to 'sid'.
2022-12-16 16:17:40 +01:00
jo aff5c93fe1
Format .pre-commit-config.yaml 2022-12-16 16:15:31 +01:00
jo 5084b252f1
Don't use template delimiters in conditions 2022-12-16 16:15:31 +01:00
jo d4e151468b
Add .gitignore 2022-12-16 14:29:11 +01:00
Faustin Lammler b2b6aedd30
Bump pre-commit tools version 2022-12-15 22:49:32 +01:00
Faustin Lammler 123750bb84
Add 10.11 testing 2022-12-15 12:58:14 +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 6a809f373a
get_url module always detect a change in checkmode
See: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/get_url_module.html:
2022-11-09 10:27:39 +01:00
Faustin Lammler 44b74604e0
Bump pre-commit tools versions 2022-11-09 10:27:13 +01:00
faust 86cd0b4cfc
Merge pull request #30 from jooola/refactor_when
Refactor when: mariadb_use_official_repo in a block
2022-10-14 13:49:55 +02:00
jo d09bc65a6d Refactor when: mariadb_use_official_repo in a block 2022-10-14 12:47:20 +02:00
Faustin Lammler f033b79f75
Shorten CI step name 2022-10-14 10:49:55 +02:00
Faustin Lammler e79aa23fdb
Add new CI badge 2022-10-14 10:47:28 +02: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 2f661616a2
Almalinux and Rockylinux are included in EL platforms
And Fedora release rhythm is too fast so putting 'all'.

See: https://github.com/ansible/galaxy/issues/2533#issuecomment-926084009
2022-10-13 11:53:42 +02:00
Faustin Lammler be318f0b2d
Documentation and add tags
Add some rollback tags because we introduced breaking changes for older
Ansible version (naming change in mysql_replication module).
2022-10-13 11:32:01 +02:00
Faustin Lammler 63e215f3e6
Improve documentation
Add molecule cluster example.
Add spellcheck pre-commit.
2022-10-12 19:30:48 +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 bc0663c9f3
Pre-commit helper 2022-10-12 11:28:48 +02:00
Faustin Lammler 32dba5411d
Lint with latest ansible-lint version 2022-10-12 11:20:37 +02:00
Faustin Lammler 73ee37265b
Improve doc and split/filter CI 2022-10-12 10:56:37 +02:00
Faustin Lammler 37d10f856d
Increase galaxy supported distributions 2022-10-11 18:55:34 +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 4eeaaa139c
Don't use apt-key that is deprecated
Also, make sure that source.list file only contains one line (this
renders version upgrades easier).
2022-10-06 12:22:08 +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 acb31fb98c
Drop python2 support 2022-09-07 10:42:50 +02:00
Faustin Lammler ccc50d76a3
Make new version of ansible-lint happy 2022-08-25 17:38:31 +02:00
Faustin Lammler a2610f40e9
Ubuntu 21.04 is not a LTS 2022-08-09 11:35:15 +02:00
faust 990a494441
Merge pull request #25 from fauust/dependabot/pip/molecule-eq-4.0.star
Update molecule requirement from ==3.6.* to ==4.0.*
2022-06-17 10:00:01 +02:00
dependabot[bot] 6c0a9eb240
Update molecule requirement from ==3.6.* to ==4.0.*
Updates the requirements on [molecule](https://github.com/ansible-community/molecule) to permit the latest version.
- [Release notes](https://github.com/ansible-community/molecule/releases)
- [Commits](https://github.com/ansible-community/molecule/compare/v3.6.0...v4.0.0)

---
updated-dependencies:
- dependency-name: molecule
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 02:32:16 +00:00
Faustin Lammler 654b620409
Update pre-commit action and versions 2022-06-10 10:02:38 +02:00
faust c3aaf04910
Merge pull request #24 from fauust/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-06-10 09:50:20 +02:00
dependabot[bot] 348022b4cb
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 02:35:10 +00:00
faust bc39dc352b
Merge pull request #23 from fauust/test-10.7
Increase test coverage for MDBF versions
2022-06-08 15:26:55 +02:00
Faustin Lammler 6a83d518c2
Increase test coverage for MDBF versions 2022-06-08 11:40:19 +02:00
faust 61262f94d6
Merge pull request #22 from fauust/dependabot/github_actions/pre-commit/action-3.0.0
Bump pre-commit/action from 2.0.3 to 3.0.0
2022-06-06 09:15:10 +02:00
dependabot[bot] a8abd7b22f
Bump pre-commit/action from 2.0.3 to 3.0.0
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 02:35:49 +00:00
faust 9a598e0d6f
Merge pull request #21 from fauust/dependabot/github_actions/robertdebock/galaxy-action-1.2.1
Bump robertdebock/galaxy-action from 1.2.0 to 1.2.1
2022-05-23 10:26:52 +02:00
dependabot[bot] 888110a34d
Bump robertdebock/galaxy-action from 1.2.0 to 1.2.1
Bumps [robertdebock/galaxy-action](https://github.com/robertdebock/galaxy-action) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/robertdebock/galaxy-action/releases)
- [Commits](https://github.com/robertdebock/galaxy-action/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: robertdebock/galaxy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 02:35:34 +00:00
Faustin Lammler 2d8c99ca2a
Ubuntu 22.04 released 2022-04-22 12:00:45 +02:00
Faustin Lammler dfa66b2cff
fixup! fixup! Rename master branch 2022-04-04 13:30:09 +02:00