Generalize vars in template file in build-test-packages role
With this patch we are generalizing vars in template file to take care of differenet osp_release naming conventions we currently have in downstream:- For 17:- osp_release: rhos-17 For 16.2:- osp_release: rhos-16.2 We have plans to switch 17 osp_release to numbered in downstream from osp_release: rhos-17 --> osp_release: rhos-17.0 in near future so that these kind of changes are not required. But as osp_release for 17 is in multiple places, For now we are going ahead with this change to make both versions working. Change-Id: I101d1d938862785ec7afc5d5a7c97ad2f1e78c04
This commit is contained in:
parent
f304c000af
commit
e86f82b9a0
|
@ -28,9 +28,8 @@ use_components={{ use_components }}
|
|||
[downstream_driver]
|
||||
info_files=osp.yml
|
||||
versions_url=https://trunk.rdoproject.org/centos8-master/current/versions.csv
|
||||
downstream_distro_branch={{ osp_release }}.0-rhel-8-trunk
|
||||
# downstream tag needs to be osp-17.0
|
||||
downstream_tag=osp-{{ osp_release.split('-')[1] }}.0
|
||||
downstream_distro_branch={{ osp_release }}{{ '.0' if '.' not in osp_release else '' }}-rhel-8-trunk
|
||||
downstream_tag=osp-{{ osp_release.split('-')[1] }}{{ '.0' if '.' not in osp_release else '' }}
|
||||
downstream_distgit_key=osp-distgit
|
||||
use_upstream_spec=true
|
||||
downstream_spec_replace_list=^%global with_doc.+/%global with_doc 0,^%global rhosp.*/%global rhosp 1
|
||||
|
|
Loading…
Reference in New Issue