Merge #88 Resolve HEAD in ksurl to actual hash

This commit is contained in:
Dennis Gilmore 2015-12-08 17:37:09 +00:00
commit 81e90eb780
4 changed files with 88 additions and 2 deletions

View file

@ -507,7 +507,8 @@ Image Build Settings
.. note::
Config can contain anything what is accepted by
koji image-build --config configfile.ini
``koji image-build --config configfile.ini``
Repo is currently the only option which is being automatically transformed
into a string.
@ -515,6 +516,10 @@ Image Build Settings
The 'format' attr is [('image_type', 'image_suffix'), ...].
productmd should ideally contain all of image types and suffixes.
If ``ksurl`` ends with ``#HEAD``, Pungi will figure out the SHA1 hash of
current HEAD and use that instead.
Example
-------
::
@ -528,6 +533,7 @@ Example
'target': 'koji-target-name',
'ksversion': 'F23', # value from pykickstart
'version': '23',
# correct SHA1 hash will be put into the URL below automatically
'ksurl': 'https://git.fedorahosted.org/git/spin-kickstarts.git?somedirectoryifany#HEAD',
'kickstart': "fedora-docker-base.ks",
'repo': ["http://someextrarepos.org/repo", "ftp://rekcod.oi/repo].