Add missing base RHEL 9 repository IDs#206
Open
sshedmake wants to merge 1 commit into
Open
Conversation
This adds the simple base RHEL 9 repository IDs that are used in bootc container builds: - rhel-9-appstream - rhel-9-baseos - rhel-9-appstream-source - rhel-9-baseos-source These IDs are different from the verbose architecture-specific format (e.g., rhel-9-for-x86_64-appstream-rpms) and were causing Enterprise Contract validation failures for bootc builds. Fixes release-engineering#205 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the missing base RHEL 9 repository IDs to
data/known_rpm_repositories.yml:rhel-9-appstreamrhel-9-baseosrhel-9-appstream-sourcerhel-9-baseos-sourceThese simple repository IDs are used in bootc container builds and differ from the verbose architecture-specific format (e.g.,
rhel-9-for-x86_64-appstream-rpms) that was already present in the known repositories list.Problem
Without these repository IDs, bootc container builds that use RHEL 9 base images fail Enterprise Contract validation with 208+ violations from the
rpm_repos.ids_knowncheck. Teams have been forced to use workarounds like time-bound exclusions or team-specific allowlists.Solution
Added the four base repository IDs to
hack/extra_rpm_repositories.ymland regenerateddata/known_rpm_repositories.ymlusing the update script. This allows bootc builds to pass standard EC validation without requiring team-specific workarounds.Test plan
hack/extra_rpm_repositories.ymldata/known_rpm_repositories.ymlusinghack/update-known-rpm-repositories.shFixes #205
🤖 Generated with Claude Code