Skip to content

HMS-5923: add support for rhel10 #1085

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

Merged
merged 4 commits into from
May 14, 2025
Merged

Conversation

xbhouse
Copy link
Contributor

@xbhouse xbhouse commented Apr 18, 2025

Summary

  • Adds support for RHEL10 (including extensions channel) and adds EPEL10
  • Adds a new manifest that includes these repos

Testing steps

  1. Start with a fresh environment to import the new manifest (make compose-clean make compose-up)
  2. Run make repos-import && go run cmd/external-repos/main.go process-repos. All repos including RHEL10 should be introspected and snapshotted successfully
  3. List the RH repos via API and you should see RHEL10 repos in the response
  4. List the popular repositories and you should EPEL10 in the response
  5. Sorting (/repositories/?sort_by=distribution_versions:desc&origin=red_hat) and filtering (/repositories/?origin=red_hat&version=10) these repos by version should still work as expected
  6. You should be able to create a template with RHEL10 repos, assign it to a RHEL10 client (following these docs), and install packages on the client from those repos

@jlsherrill
Copy link
Member

Copy link
Contributor

@rverdile rverdile left a comment

Choose a reason for hiding this comment

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

Tested repositories list with filtering, snapshots list, templates list, and the various content unit searches. Also made a rhel 10 beta system and was able to install rpms from the template.

Looks good! will revisit when this is ready to merge

@xbhouse xbhouse marked this pull request as ready for review May 13, 2025 17:32
"arch":"x86_64",
"distribution_version":"10",
"selector": "rhel10",
"feature_name":"RHEL-OS-x86_64"
Copy link
Member

Choose a reason for hiding this comment

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

This is actually available for arm too. The features api seems broken for arm, i'll report that, but i think this should work:

{
        "name":"Red Hat Enterprise Linux 10 for ARM 64 - Extensions (RPMs)",
        "content_label":"rhel-10-for-aarch64-extensions-rpms",
        "url":"https://cdn.redhat.com/content/dist/rhel10/10/aarch64/extensions/os",
        "arch":"aarch64",
        "distribution_version":"10",
        "selector": "rhel10",
        "feature_name":"RHEL-OS-x86_64"
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added!

@jlsherrill
Copy link
Member

/retest

@jlsherrill
Copy link
Member

jlsherrill commented May 14, 2025

one last thing, can you add the appstream and baseos repos to external_repos.json?

EDIT: actually, nevermind, this is handled for us!

@xbhouse xbhouse merged commit 515b628 into content-services:main May 14, 2025
18 of 24 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.

3 participants