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

K8SPS-358 add MySQL 8.3 and MySQL 8.4 support #676

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hors
Copy link
Collaborator

@hors hors commented Jun 20, 2024

CHANGE DESCRIPTION

Problem:
Short explanation of the problem.

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PS version?
  • Does the change support oldest and newest supported Kubernetes version?

@pull-request-size pull-request-size bot added the size/XS 0-9 lines label Jun 20, 2024
@@ -192,12 +192,12 @@

MYSQL_VERSION=$(mysqld -V | awk '{print $3}' | awk -F'.' '{print $1"."$2}')

if [ "$MYSQL_VERSION" != '8.0' ]; then
if ! [[ "$MYSQL_VERSION" =~ ^(8\.0|8\.3|8\.4)$ ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
if ! [[ "$MYSQL_VERSION" =~ ^(8\.0|8\.3|8\.4)$ ]]; then
if ! [[ $MYSQL_VERSION =~ ^(8\.0|8\.3|8\.4)$ ]]; then

@hors hors changed the title add MySQL 8.3 and MySQL 8.4 support K8SPS-358 add MySQL 8.3 and MySQL 8.4 support Jun 21, 2024
@@ -192,7 +192,7 @@ ensure_read_only() {

MYSQL_VERSION=$(mysqld -V | awk '{print $3}' | awk -F'.' '{print $1"."$2}')

if [ "$MYSQL_VERSION" != '8.0' ]; then
if ! [[ "$MYSQL_VERSION" =~ ^(8\.0|8\.3|8\.4)$ ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
if ! [[ "$MYSQL_VERSION" =~ ^(8\.0|8\.3|8\.4)$ ]]; then
if ! [[ $MYSQL_VERSION =~ ^(8\.0|8\.3|8\.4)$ ]]; then

@JNKPercona
Copy link
Collaborator

Test name Status
async-ignore-annotations passed
auto-config passed
config passed
config-router passed
demand-backup passed
gr-demand-backup passed
gr-demand-backup-haproxy passed
gr-finalizer passed
gr-haproxy passed
gr-ignore-annotations passed
gr-init-deploy passed
gr-one-pod passed
gr-recreate passed
gr-scaling passed
gr-security-context passed
gr-self-healing passed
gr-tls-cert-manager passed
gr-users passed
haproxy passed
init-deploy passed
limits failure
monitoring passed
one-pod passed
operator-self-healing passed
recreate passed
scaling passed
service-per-pod passed
sidecars passed
smart-update passed
tls-cert-manager passed
users passed
version-service passed
We run 32 out of 32

commit: ad03a56
image: perconalab/percona-server-mysql-operator:PR-676-ad03a560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS 0-9 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants