Remove RHEL 7.x and Amazon Linux 2 from CI and package builds. - #22930
Conversation
There was a problem hiding this comment.
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 missingtestsection for the amazonlinux 2023 include is likely to make the matrix generator fail onv['test'], which can break CI/build workflows after merge — restore thetestblock 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)
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| test: | ||
| ebpf-core: false | ||
| skip-local-build: true | ||
| - aarch64 |
There was a problem hiding this comment.
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
- ¢os_stream
</file context>
| - 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 | |
There was a problem hiding this comment.
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>
| | 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 | |
There was a problem hiding this comment.
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>
| | Red Hat Enterprise Linux | 7.x | EOL as of 2026-06-30 | | |
| +| Red Hat Enterprise Linux | 7.x | EOL as of 2024-06-30 | |
There was a problem hiding this comment.
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
legacydistro 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.
| - <<: *amzn | ||
| version: "2" | ||
| packages: | ||
| <<: *amzn_packages | ||
| repo_distro: amazonlinux/2 |
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.
|
Rebased to resolve merge conflicts. |
|
thiagoftsm
left a comment
There was a problem hiding this comment.
CI runs as expected. LGTM!



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.
amazonlinux/2,el/7) without updates.Written for commit 8e2c859. Summary will update on new commits.