Merge #88 Resolve HEAD in ksurl to actual hash
This commit is contained in:
commit
81e90eb780
4 changed files with 88 additions and 2 deletions
|
|
@ -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].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue