zuul-jobs/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2
Alfredo Moralejo 75d896ab97 Use CentOS8 dependencies repo to install openvswitch
Currently, centos8 jobs are using old RHEL repo. A repo with CentOS8
packages has been created by RDO, so let's switch to it.

Change-Id: I0df0950de5a42bb7a425609c3d5d065550d956f4
2020-02-24 18:08:14 +00:00

26 lines
1000 B
Django/Jinja

# Vendored from rdo-release: https://github.com/rdo-infra/rdo-release
{% if ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version|int <= 7 %}
[centos-openstack-queens]
name=CentOS OpenStack Queens Repository
{% if zuul_site_mirror_fqdn is defined %}
baseurl=http://{{ zuul_site_mirror_fqdn }}/centos/7/cloud/$basearch/openstack-queens/
{% else %}
baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-queens/
{% endif %}
gpgcheck=1
enabled=1
gpgkey=file:///tmp/RPM-GPG-KEY-CentOS-SIG-Cloud
{% elif ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8 %}
[RDO-RHEL8-deps]
name=RedHat OpenStack deps repo
baseurl=https://trunk.rdoproject.org/rhel8-master/deps/latest/
gpgcheck=0
enabled=1
{% elif ansible_distribution == 'CentOS' and ansible_distribution_major_version|int >= 8 %}
[RDO-CentOS8-deps]
name=CentOS OpenStack deps repo
baseurl=https://trunk.rdoproject.org/centos8-master/deps/latest/
gpgcheck=0
enabled=1
{% endif %}