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 24, 2023
1 parent d432577 commit d87321b
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 d87321b

Please sign in to comment.