pungi/pungi/phases
Tomas Mlcoch 5bffca5037 Support signing of rpm wrapped live images
With this patch, you can specify a command for
signing of koji builds. For example:

    signing_key_password_file = '~/file_with_password_for_key_fedora-24'
    signing_key_id = '81b46521'
    signing_command = '~/git/releng/scripts/sigulsign_unsigned.py -vv --password=%(signing_key_password)s fedora-24'

'signing_key_password_file' is a path to a file which contains
a password that will be formatted into 'signing_command' string
via '%(signing_key_password)s' string format syntax (if used).
Because pungi config is usualy stored in git and part of compose
logs we don't want password to be included directly in the config.
Note: If '-' is used instead of a filename, then you will be asked
for the password interactivelly right after pungi starts.

'signing_key_id' is ID of the key that will be used for the signing.
This ID will be used when crafting koji paths to signed files
(kojipkgs.fedoraproject.org/packages/NAME/VER/REL/data/signed/KEYID/..).

'signing_command' a command that will be run with a build as a single
argument. This command mustn't require any user interaction.
If you need to pass a password for a signing key to the command,
do this via command line option of the command with use of string
formatting syntax '%(signing_key_password)s' (see details
about 'signing_key_password_file').

Signed-off-by: Tomáš Mlčoch <tmlcoch@redhat.com>
2016-02-18 13:36:38 +01:00
..
gather Allow specifying empty variants 2016-02-16 15:08:15 +01:00
pkgset Toggle multilib per variant 2016-01-20 12:53:08 +01:00
__init__.py [live-media] Add live media phase 2016-02-01 13:28:49 +01:00
base.py Add ability to send messages about progress 2015-11-25 15:46:50 +01:00
buildinstall.py [buildinstall] Stop parsing task_id 2016-02-12 12:39:50 +01:00
createiso.py Log more details about failed deliverable 2016-02-08 12:07:04 +01:00
createrepo.py Allow specifying empty variants 2016-02-16 15:08:15 +01:00
extra_files.py change pypungi imports to pungi 2015-03-12 16:12:38 -05:00
image_build.py [image-build] Use dashes as arch separator in log 2016-02-15 09:04:03 +01:00
image_checksum.py Fix generating checksum files 2015-12-03 10:54:09 +01:00
init.py Toggle multilib per variant 2016-01-20 12:53:08 +01:00
live_images.py Support signing of rpm wrapped live images 2016-02-18 13:36:38 +01:00
livemedia_phase.py [live-media] Properly calculate iso dir 2016-02-11 13:58:42 +01:00
product_img.py Allow specifying empty variants 2016-02-16 15:08:15 +01:00
test.py Toggle multilib per variant 2016-01-20 12:53:08 +01:00