Skip to content

Commit

Permalink
tools/koji-compose: deal with rhsm repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
croissanne committed Jul 3, 2024
1 parent c16ca8f commit 7c78bd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/koji-compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def composer_repository_to_koji_repository(repository):
if repository.get("check_gpg", False):
koji_repository["gpgkey"] = repository["gpgkey"]

if "cdn.redhat.com" in koji_repository["baseurl"]:
koji_repository["rhsm"] = True

return koji_repository


Expand Down

0 comments on commit 7c78bd3

Please sign in to comment.