pungi/tests
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
..
data Allow specifying empty variants 2016-02-16 15:08:15 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
test_arch.py Allow running scripts with any python in PATH 2015-11-27 08:38:47 +01:00
test_buildinstall.py [buildinstall] Improve logging 2016-02-08 13:17:08 +01:00
test_compose.py Store which deliverables failed 2016-01-15 08:41:08 +01:00
test_compose.sh Move messaging into cli options 2015-11-27 10:35:08 +01:00
test_imagebuildphase.py [image-build] Fix tests 2016-02-11 13:22:26 +01:00
test_imagechecksumphase.py Merge #75 Start of development guide 2015-12-08 17:41:00 +00:00
test_koji_wrapper.py [live-images] Don't tweak kickstarts 2016-02-17 14:35:28 +01:00
test_liveimagesphase.py Support signing of rpm wrapped live images 2016-02-18 13:36:38 +01:00
test_livemediaphase.py [live-media] Properly calculate iso dir 2016-02-11 13:58:42 +01:00
test_lorax_wrapper.py Update lorax wrapper to use --installpkgs 2015-12-03 15:19:12 +01:00
test_notifier.py Fix notifier tests 2015-12-14 14:35:00 +01:00
test_pathmatch.py Allow running scripts with any python in PATH 2015-11-27 08:38:47 +01:00
test_util.py Keep empty query string in resolved git url 2016-02-16 10:42:59 +01:00