Skip to content

MySQL 8.0 reached EOL in April 2026#442

Merged
phracek merged 2 commits into
sclorg:masterfrom
phracek:eol_mysql_rhel8_rhel9
Jul 1, 2026
Merged

MySQL 8.0 reached EOL in April 2026#442
phracek merged 2 commits into
sclorg:masterfrom
phracek:eol_mysql_rhel8_rhel9

Conversation

@phracek

@phracek phracek commented Jun 30, 2026

Copy link
Copy Markdown
Member

The MySQL 8.0 reached EOL in April 2026.

See: https://access.redhat.com/support/policy/updates/rhel8-app-streams-life-cycle

This pull request removes it from build, testing and pushing pipelines.

The MySQL 8.4 is supported in RHEL8 https://access.redhat.com/support/policy/updates/rhel8-app-streams-life-cycle
This pull request enables building, testing on RHEL8.

Summary by CodeRabbit

  • New Features
    • Added support for an additional MySQL 8.4 RHEL 8 image stream test case.
  • Bug Fixes
    • Removed MySQL 8.0 from the supported build, test, and version lists.
    • Updated container documentation to show that MySQL 8.0 is deprecated.
  • Documentation
    • Simplified the version matrix to reflect the current supported image set.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR removes MySQL 8.0 from CI build-and-push and container-tests workflows, drops 8.0 from the Makefile VERSIONS variable, replaces the 8.0 image README with a deprecation notice, updates the top-level README versions table, and adds a new 8.4-el8 Helm imagestream test case.

Changes

MySQL 8.0 removal and 8.4 test coverage

Layer / File(s) Summary
8.0 removal from build/test pipelines and Makefile
.github/workflows/build-and-push.yml, .github/workflows/container-tests.yml, Makefile
Removes MySQL 8.0 matrix entries (c9s and Fedora) from the build-and-push workflow, narrows container-tests versions to only 8.4, and drops 8.0 from the Makefile VERSIONS variable.
8.0 deprecation notice and README update
8.0/root/usr/share/container-scripts/mysql/README.md, README.md
Replaces the 8.0 container README with a deprecation notice and updates the top-level README versions table to remove the RHEL 8 column and MySQL 8.0 row.
8.4-el8 Helm imagestream test
test/test_ocp_mysql_shared_helm_imagestreams.py
Adds a parametrized test case for version 8.4-el8 mapped to the RHEL8 registry image.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: dropping MySQL 8.0 after its EOL.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Pull Request validation

Failed

🔴 Failed or pending statuses:

  • Testing Farm - Fedora - 8.0[error]
  • Distgen check[failure]

🔴 Review - Missing review from a member (1 required)


Triggered by Workflow Run

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek phracek force-pushed the eol_mysql_rhel8_rhel9 branch from 9c0ed65 to d6daecd Compare June 30, 2026 11:24

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
8.0/root/usr/share/container-scripts/mysql/README.md (1)

1-5: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Enhance deprecation notice with migration guidance.

The deprecation notice should inform users when the image was deprecated and what to use instead. Consider adding:

  • The EOL date (April 2026 per PR description)
  • Reference to MySQL 8.4 as the supported replacement
  • Link to the RHEL 8 App Stream lifecycle policy
 MySQL 8.0 SQL Database Server container image
 =============================================
 
-**The MySQL 8.0 image is deprecated.**
+**The MySQL 8.0 image is deprecated and reached end-of-life in April 2026.**
+**Please migrate to the [MySQL 8.4 image](../8.4).**
+**See the [RHEL 8 App Stream lifecycle policy](https://access.redhat.com/support/policy/updates/rhel8-app-stream-life-cycle) for details.**
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@8.0/root/usr/share/container-scripts/mysql/README.md` around lines 1 - 5,
Update the deprecation notice in the MySQL container README to include migration
guidance: state when the MySQL 8.0 image was deprecated, point users to MySQL
8.4 as the supported replacement, and add a reference to the RHEL 8 App Stream
lifecycle policy. Keep the change in the existing README heading area so the
deprecation message is immediately visible.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@8.0/root/usr/share/container-scripts/mysql/README.md`:
- Around line 1-5: Update the deprecation notice in the MySQL container README
to include migration guidance: state when the MySQL 8.0 image was deprecated,
point users to MySQL 8.4 as the supported replacement, and add a reference to
the RHEL 8 App Stream lifecycle policy. Keep the change in the existing README
heading area so the deprecation message is immediately visible.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c3604077-de6e-421d-8c0a-0ee701c1dfa3

📥 Commits

Reviewing files that changed from the base of the PR and between fa8878f and 9ba4810.

📒 Files selected for processing (6)
  • .github/workflows/build-and-push.yml
  • .github/workflows/container-tests.yml
  • 8.0/root/usr/share/container-scripts/mysql/README.md
  • 8.4/Dockerfile.rhel8
  • Makefile
  • test/test_ocp_mysql_shared_helm_imagestreams.py
💤 Files with no reviewable changes (1)
  • .github/workflows/build-and-push.yml

@phracek

phracek commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

[test][test-pytest]

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
CentOS Stream 9 - PyTest - 8.0CentOS-Stream-9x86_64✅ passed01.07.2026 06:54:279min 11stest pipeline
CentOS Stream 9 - 8.0CentOS-Stream-9x86_64✅ passed01.07.2026 06:54:249min 13stest pipeline
RHEL8 - 8.0RHEL-8.10.0-Nightlyx86_64✅ passed30.06.2026 11:29:0210min 29stest pipeline
Fedora - PyTest - 8.4Fedora-latestx86_64✅ passed01.07.2026 06:54:2612min 2stest pipeline
CentOS Stream 10 - 8.4CentOS-Stream-10x86_64✅ passed01.07.2026 06:54:2413min 48stest pipeline
CentOS Stream 9 - 8.4CentOS-Stream-9x86_64✅ passed01.07.2026 06:54:2714min 13stest pipeline
CentOS Stream 10 - PyTest - 8.4CentOS-Stream-10x86_64✅ passed01.07.2026 06:54:2714min 51stest pipeline
Fedora - 8.4Fedora-latestx86_64✅ passed01.07.2026 06:54:2610min 19stest pipeline
RHEL8 - 8.4RHEL-8.10.0-Nightlyx86_64✅ passed30.06.2026 11:29:0018min 46stest pipeline
RHEL9 - Unsubscribed host - 8.0RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 06:54:2619min 31stest pipeline
RHEL8 - PyTest - 8.4RHEL-8.10.0-Nightlyx86_64✅ passed30.06.2026 11:29:0019min 20stest pipeline
Fedora - PyTest - 8.0Fedora-latestx86_64✅ passed01.07.2026 07:04:515min 54stest pipeline
RHEL10 - PyTest - 8.4RHEL-10.2-Nightlyx86_64✅ passed01.07.2026 06:54:2622min 8stest pipeline
Fedora - 8.0Fedora-latestx86_64✅ passed30.06.2026 11:43:266min 38stest pipeline
RHEL8 - PyTest - 8.0RHEL-8.10.0-Nightlyx86_64✅ passed01.07.2026 06:54:2410min 29stest pipeline
RHEL9 - Unsubscribed host - 8.4RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 06:54:2626min 10stest pipeline
RHEL9 - Unsubscribed host - PyTest - 8.0RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 06:54:2620min 48stest pipeline
RHEL10 - Unsubscribed host - 8.4RHEL-10.2-Nightlyx86_64✅ passed30.06.2026 11:32:5723min 43stest pipeline
RHEL9 - 8.4RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 07:04:4425min 59stest pipeline
CentOS Stream 9 - PyTest - 8.4CentOS-Stream-9x86_64✅ passed01.07.2026 06:54:2714min 46stest pipeline
RHEL9 - 8.0RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 06:54:2519min 47stest pipeline
RHEL9 - PyTest - 8.0RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 07:04:4519min 36stest pipeline
RHEL10 - Unsubscribed host - PyTest - 8.4RHEL-10.2-Nightlyx86_64✅ passed01.07.2026 06:56:4521min 54stest pipeline
RHEL9 - PyTest - 8.4RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 06:54:2628min 7stest pipeline
RHEL9 - Unsubscribed host - PyTest - 8.4RHEL-9.8.0-Nightlyx86_64✅ passed01.07.2026 06:54:2724min 58stest pipeline
RHEL10 - 8.4RHEL-10.2-Nightlyx86_64✅ passed01.07.2026 06:54:2421min 52stest pipeline

@phracek phracek requested a review from pkhartsk June 30, 2026 11:57
@phracek

phracek commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Dist-gen check failed because of it waits for #437 to be merged.

Mark the image as deprecated in README.md as well.
The 8.0 image is fully deprecated.

See for more information source page here:
https://access.redhat.com/support/policy/updates/rhel8-app-streams-life-cycle

Update helm charts and do not test 8.0 at all

Update version table

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek phracek force-pushed the eol_mysql_rhel8_rhel9 branch from d6daecd to cb10898 Compare July 1, 2026 06:52
@phracek

phracek commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

[test][test-pytest]

@pkhartsk

pkhartsk commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

LGTM

@phracek phracek merged commit 3a79285 into sclorg:master Jul 1, 2026
26 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants