add ability to specify ostree ref in OSTREE phase

It allows specify what ref we want this compose to commit to.
New parameter 'ostree_ref' overrides the default value from the treefile json.

Relates: https://pagure.io/pungi/issue/777

Signed-off-by: Ondrej Nosek <onosek@redhat.com>
This commit is contained in:
Ondrej Nosek 2017-11-28 16:31:20 +01:00
parent 953fb4c54c
commit a6c65e026a
5 changed files with 16 additions and 1 deletions

View file

@ -1228,6 +1228,7 @@ repository with a new commit.
:ref:`See how those values are created <auto-version>`.
* ``tag_ref`` -- (*bool*, default ``True``) If set to ``False``, a git
reference will not be created.
* ``ostree_ref`` -- (*str*) To override value ``ref`` from ``treefile``.
Example config