checks: Use list of release types from productmd

Let's not duplicate the list. Productmd exports a list of valid values,
so Pungi should just pick and use that.

Closes: https://pagure.io/pungi/pull-request/773
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-23 23:52:57 +02:00 committed by Lubomír Sedlář
parent 274f8b4e56
commit 3088df8e60
2 changed files with 6 additions and 3 deletions

View file

@ -62,8 +62,10 @@ Options
**release_version** [mandatory]
(*str*) -- release version
**release_type** = "ga"
(*str*) -- release type, "ga" or "updates"
**release_type** = "ga" (*str*) -- release type, for example ``ga``,
``updates`` or ``updates-testing``. See `list of all valid values
<http://productmd.readthedocs.io/en/latest/common.html#productmd.common.RELEASE_TYPES>`_
in productmd documentation.
**release_is_layered** = False
(*bool*) -- typically False for an operating system, True otherwise