Add var for distro in versions_url
`use_upstream_spec` is set to true in downstream case refer [1], If we use upstream spec we should correctly set distro. Removing hardcoded version 8 with this patch, as this is causing issue in downstream: ~~~ 404 Client Error: Not Found for url: https://trunk.rdoproject.org/centos8-zed/current/versions.csv ~~~ [1] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/873218/1/roles/build-test-packages/templates/projects.ini.j2#42 Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/873213 Change-Id: I916d25e8b39e4106a21a503b946dc719675e29bc
This commit is contained in:
parent
ce0390d67a
commit
c0d26337a2
|
@ -35,7 +35,7 @@ release_minor={{ '0' if '.' not in osp_release.split('-')[1] else osp_release.sp
|
|||
|
||||
[downstream_driver]
|
||||
info_files=osp.yml
|
||||
versions_url=https://trunk.rdoproject.org/centos8-{{ release }}/current/versions.csv
|
||||
versions_url=https://trunk.rdoproject.org/centos{{ ansible_distribution_major_version }}-{{ release }}/current/versions.csv
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue