zuul-jobs/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2
Ian Wienand cfdf251140 Use RDO trunk repos work for openvswitch on centos8
This is a bit of a hack, but allows installation of openvswitch for
testing the multinode roles.  Official CentOS 8 RDO builds are still a
work in progress, but this will let us get a head-start on any
multi-node testing.

Change-Id: I2eb1a16e9995a19d61e309aa59b232577184b527
2019-11-25 08:27:50 +01:00

29 lines
1.1 KiB
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-RHEL8-deps]
# NOTE(ianw): 2019-11-25 RDO on centos8 is still in the process of
# being built. However, for our openvswitch dependency we can use
# this, for now.
name=RedHat OpenStack deps repo
baseurl=https://trunk.rdoproject.org/rhel8-master/deps/latest/
gpgcheck=0
enabled=1
{% endif %}