Merge "Add release_numbering & release_minor support"
This commit is contained in:
commit
6b47287c4a
|
@ -23,8 +23,17 @@ gerrit_topic=rdo-FTBFS
|
|||
database_connection=sqlite:///commits.sqlite
|
||||
fallback_to_master=1
|
||||
use_components={{ use_components }}
|
||||
|
||||
{% if osp_release is defined %}
|
||||
# Details about `release_numbering` and `release_minor` can be found at
|
||||
# at https://dlrn.readthedocs.io/en/latest/installation.html
|
||||
# There default values are `0.date.hash` and `0` respectively.
|
||||
# We are only setting these for downstream case when osp_release
|
||||
# is defined. For downstream case, we are hardcoding release_numbering=minor.date.hash
|
||||
# and then just set the release_minor value based on the OSP version
|
||||
# (e.g. 0 for 16/16.0, 1 for 16.1, 2 for 16.2 etc).
|
||||
release_numbering=minor.date.hash
|
||||
release_minor={{ '0' if '.' not in osp_release.split('-')[1] else osp_release.split('-')[1].split('.')[1] }}
|
||||
|
||||
[downstream_driver]
|
||||
info_files=osp.yml
|
||||
versions_url=https://trunk.rdoproject.org/centos8-master/current/versions.csv
|
||||
|
|
Loading…
Reference in New Issue