Skip to content

Commit

Permalink
backend: don't sign srpm-builds
Browse files Browse the repository at this point in the history
This content is not meant to be consumed by users, and it consumes
the keygen cycles.

Relates: #2757
  • Loading branch information
praiskup committed Oct 23, 2023
1 parent 2789f06 commit 22ab733
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/copr_backend/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ def sign_rpms_in_dir(username, projectname, path, chroot, opts, log):
:raises: :py:class:`backend.exceptions.CoprSignError` failed to sign at least one package
"""

if chroot == 'srpm-builds':
log.info("Source builds are not signed")
return

rpm_list = [
os.path.join(path, filename)
for filename in os.listdir(path)
Expand Down

0 comments on commit 22ab733

Please sign in to comment.