Skip to content

Remove RHEL 7.x and Amazon Linux 2 from CI and package builds. - #22930

Merged
Ferroin merged 2 commits into
netdata:masterfrom
Ferroin:rhel7-eol
Aug 17, 2026
Merged

Ferroin merged 2 commits into
netdata:masterfrom
Ferroin:rhel7-eol

Conversation

@Ferroin

@Ferroin Ferroin commented Jun 30, 2026

Copy link
Copy Markdown
Member
Summary

AL 2 went EOL upstream on 2026-06-30.

RHEL 7.x went EOL upstream on 2024-06-30, and our end of support was delayed due to the number of customers still using the platform.

Test Plan

n/a

Additional Information

Closes: #21261
Closes: #22595


Summary by cubic

Remove Amazon Linux 2, RHEL 7.x, and CentOS 7 from active CI and package builds and move them to legacy-only. Update docs (mark EOL, add RHEL 10.x, confirm AL2023 and RHEL 8+/9+/10) and harden the build matrix generator.

  • Migration
    • No new CI builds or tests for AL2, RHEL 7, or CentOS 7; legacy repos keep existing packages (amazonlinux/2, el/7) without updates.
    • Upgrade to Amazon Linux 2023 or RHEL 8+ (Alma/Rocky supported).
    • Static builds may still run on these OSes but are not supported.

Written for commit 8e2c859. Summary will update on new commits.

Review in cubic

@Ferroin
Ferroin marked this pull request as ready for review June 30, 2026 13:53
Copilot AI review requested due to automatic review settings June 30, 2026 13:53
@Ferroin
Ferroin requested a review from a team as a code owner June 30, 2026 13:53

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

3 issues found across 2 files

Confidence score: 2/5

  • In packaging/PLATFORM_SUPPORT.md, the EOL dates for CentOS 7.x and RHEL 7.x are listed as 2026-06-30 instead of 2024-06-30, which can misstate support commitments and mislead upgrade planning if merged as-is — correct both table entries before merging.
  • In .github/data/distros.yml, the missing test section for the amazonlinux 2023 include is likely to make the matrix generator fail on v['test'], which can break CI/build workflows after merge — restore the test block and run the workflow generation path to confirm it no longer crashes.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/data/distros.yml">

<violation number="1" location=".github/data/distros.yml:106">
P1: Restore a `test` section for the amazonlinux 2023 include entry; otherwise the build workflow matrix generator crashes on `v['test']`.</violation>
</file>

<file name="packaging/PLATFORM_SUPPORT.md">

<violation number="1" location="packaging/PLATFORM_SUPPORT.md:178">
P1: Incorrect EOL date for CentOS 7.x. Table says 2026-06-30, but CentOS 7 reached end of life on 2024-06-30.</violation>

<violation number="2" location="packaging/PLATFORM_SUPPORT.md:183">
P1: Incorrect EOL date for Red Hat Enterprise Linux 7.x. Table says 2026-06-30, but RHEL 7 maintenance support ended on 2024-06-30, matching the PR's own description.</violation>
</file>
Architecture diagram
sequenceDiagram
    participant CI as CI Pipeline
    participant Config as Distros Config (distros.yml)
    participant Repo as Package Repo
    participant Docs as Platform Support Docs

    Note over CI,Docs: Current state after PR: AL2 & RHEL7 moved to legacy

    CI->>Config: Read supported distros
    Config-->>CI: Returns active & legacy entries

    loop For each active distro (e.g., Amazon Linux 2023, RHEL 8+)
        CI->>CI: Build packages for x86_64, aarch64
        CI->>Repo: Publish new packages
        Repo-->>CI: Published OK
    end

    alt Legacy platforms (AL2, RHEL7)
        CI->>Config: Read legacy config
        Config-->>CI: Legacy entries (no builder_rev, skip-local-build)
        Note over CI: No CI builds triggered
        CI->>CI: Skip build jobs
    end

    CI->>Docs: Update PLATFORM_SUPPORT.md
    Docs-->>CI: Document legacy status & EOL dates

    Note over CI,Docs: Existing packages remain in Repo for legacy platforms (no updates)
Loading

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .github/data/distros.yml
test:
ebpf-core: false
skip-local-build: true
- aarch64

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1: Restore a test section for the amazonlinux 2023 include entry; otherwise the build workflow matrix generator crashes on v['test'].

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/data/distros.yml, line 106:

<comment>Restore a `test` section for the amazonlinux 2023 include entry; otherwise the build workflow matrix generator crashes on `v['test']`.</comment>

<file context>
@@ -92,49 +92,18 @@ include:
-    test:
-      ebpf-core: false
-      skip-local-build: true
+        - aarch64
 
   - &centos_stream
</file context>
Suggested change
- aarch64
- aarch64
test:
ebpf-core: false
skip-local-build: false

| Platform | Version | Notes |
|--------------------------|-----------|----------------------|
| Amazon Linux | 2 | EOL as of 2026-06-30 |
| CentOS | 7.x | EOL as of 2026-06-30 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1: Incorrect EOL date for CentOS 7.x. Table says 2026-06-30, but CentOS 7 reached end of life on 2024-06-30.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packaging/PLATFORM_SUPPORT.md, line 178:

<comment>Incorrect EOL date for CentOS 7.x. Table says 2026-06-30, but CentOS 7 reached end of life on 2024-06-30.</comment>

<file context>
@@ -174,15 +172,18 @@ Platforms that meet these criteria will be immediately transitioned to the **Pre
+| Platform                 | Version   | Notes                |
+|--------------------------|-----------|----------------------|
+| Amazon Linux             | 2         | EOL as of 2026-06-30 |
+| CentOS                   | 7.x       | EOL as of 2026-06-30 |
+| Debian                   | 10.x      | EOL as of 2024-07-01 |
+| Fedora                   | 42        | EOL as of 2026-05-13 |
</file context>
Suggested change
| CentOS | 7.x | EOL as of 2026-06-30 |
+| CentOS | 7.x | EOL as of 2024-06-30 |

| Fedora | 42 | EOL as of 2026-05-13 |
| Fedora | 41 | EOL as of 2025-12-15 |
| openSUSE | Leap 15.5 | EOL as of 2024-12-31 |
| Red Hat Enterprise Linux | 7.x | EOL as of 2026-06-30 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1: Incorrect EOL date for Red Hat Enterprise Linux 7.x. Table says 2026-06-30, but RHEL 7 maintenance support ended on 2024-06-30, matching the PR's own description.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packaging/PLATFORM_SUPPORT.md, line 183:

<comment>Incorrect EOL date for Red Hat Enterprise Linux 7.x. Table says 2026-06-30, but RHEL 7 maintenance support ended on 2024-06-30, matching the PR's own description.</comment>

<file context>
@@ -174,15 +172,18 @@ Platforms that meet these criteria will be immediately transitioned to the **Pre
+| Fedora                   | 42        | EOL as of 2026-05-13 |
+| Fedora                   | 41        | EOL as of 2025-12-15 |
+| openSUSE                 | Leap 15.5 | EOL as of 2024-12-31 |
+| Red Hat Enterprise Linux | 7.x       | EOL as of 2026-06-30 |
+| Ubuntu                   | 25.04     | EOL as of 2026-01-17 |
+| Ubuntu                   | 20.04     | EOL as of 2025-05-31 |
</file context>
Suggested change
| Red Hat Enterprise Linux | 7.x | EOL as of 2026-06-30 |
+| Red Hat Enterprise Linux | 7.x | EOL as of 2024-06-30 |

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

Removes Amazon Linux 2 and RHEL/CentOS 7 from active CI and package builds, migrating them to “legacy-only” handling and updating platform support documentation accordingly.

Changes:

  • Update platform support docs to remove AL2/CentOS 7/RHEL 7 from supported lists and add an EOL/unsupported table entry.
  • Restructure distro CI/package configuration to make Amazon Linux 2023 the active Amazon Linux target.
  • Move Amazon Linux 2 and CentOS 7 into the legacy distro list to retain packaging metadata without active CI coverage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packaging/PLATFORM_SUPPORT.md Removes AL2/CentOS 7/RHEL 7 from supported table and adds them to the “no longer supported” list with EOL notes.
.github/data/distros.yml Makes Amazon Linux 2023 the active amazonlinux entry and moves AL2/CentOS 7 into legacy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/data/distros.yml
Comment on lines +365 to +369
- <<: *amzn
version: "2"
packages:
<<: *amzn_packages
repo_distro: amazonlinux/2
@github-actions github-actions Bot added area/ci area/packaging Packaging and operating systems support area/docs labels Jun 30, 2026
AL 2 went EOL upstream on 2026-06-30.

RHEL 7.x went EOL upstream on 2024-06-30, and our end of support was
delayed due to the number of customers still using the platform.
@Ferroin

Ferroin commented Jul 13, 2026

Copy link
Copy Markdown
Member Author

Rebased to resolve merge conflicts.

@sonarqubecloud

Copy link
Copy Markdown

@thiagoftsm thiagoftsm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CI runs as expected. LGTM!

@Ferroin
Ferroin merged commit 2f0304b into netdata:master Aug 17, 2026
264 of 268 checks passed
@Ferroin
Ferroin deleted the rhel7-eol branch August 17, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci area/docs area/packaging Packaging and operating systems support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Platform EOL]: amazonlinux 2 will be EOL soon. [Bug]: Drop packaging support for RHEL 7, CentOS 7, etc.

3 participants