Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mariadb version bump and check #174

Merged
merged 4 commits into from
Sep 4, 2023

Conversation

kwizart
Copy link
Contributor

@kwizart kwizart commented Aug 30, 2023

This PR bump the default mariadb_version and implement a preliminary version check.

Description

  • Bumping to 10.11 is the more recent version that work across all current supported releases.
    But user should note that using this version is arbitrary, they should carefully mind the right version for their use.
  • This un-hardcode the debian-12 specific version
  • Implement a version check based on what's installed on target systems.

Related Issue

Issue raised on PR:
#171 (comment)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@kwizart kwizart force-pushed the mariadb_version_bump branch 2 times, most recently from 8eebaf0 to de85fe8 Compare August 30, 2023 15:45
@eRadical
Copy link
Collaborator

@kwizart why did you also changed templates/etc/mysql/galeranotify.py2.j2 ?

@kwizart
Copy link
Contributor Author

kwizart commented Aug 30, 2023

templates/etc/mysql/galeranotify.py2.j2

whoops, wrong commit leftover from previous branch...

@kwizart
Copy link
Contributor Author

kwizart commented Aug 30, 2023

After few quickfixes to pass Molecules tests, the ubuntu1804 are unlikely related to the PR.

Only point is probably to reword the assert fails message as If I'm keeping the previous debug task, then the message can be simplified...

@eRadical
Copy link
Collaborator

eRadical commented Sep 4, 2023

LGTM

@elcomtik || @mrlesmithjr - any thoughts?

@elcomtik
Copy link
Collaborator

elcomtik commented Sep 4, 2023

Looks very promising, let's merge it!

@eRadical eRadical merged commit 293fbf6 into mrlesmithjr:master Sep 4, 2023
8 of 9 checks passed
cmayer89 pushed a commit to cmayer89/ansible-mariadb-galera-cluster that referenced this pull request Sep 7, 2023
* Bump the default mariadb_version to 10.11
* Drop hardcoded version in debian-12
* Set default mariadb_upgrade: false
* Implement a mariadb_version check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants