zuul-jobs/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2
Alfredo Moralejo 64fd772a32 Change RDO train repository for Centos 8 stream
After removing Centos 8 repositories [1], the repository has been
set to buildlogs server, which provides testing packages.
This commit is switching back repository to mirror.centos.org once we
have openvswitch in centos network and AFS mirrors.

[1] https://www.centos.org/centos-linux-eol/

Change-Id: I6e0dd26312c593a5c7fe5525a733be8e26faec9d
2022-02-01 11:39:09 +01:00

45 lines
1.9 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 in ['CentOS', 'RedHat'] and ansible_distribution_major_version|int == 8 %}
[RDO-CentOS8-deps]
name=CentOS OpenStack Train Repository
{% if zuul_site_mirror_fqdn is defined %}
baseurl=http://{{ zuul_site_mirror_fqdn }}/centos/8-stream/cloud/$basearch/openstack-train/
{% else %}
baseurl=http://mirror.centos.org/centos/8-stream/cloud/$basearch/openstack-train/
{% endif %}
gpgcheck=0
enabled=1
# TODO: Replace testing repo once C9 released repos as available. Currently Centos9 stream release
# repos are not available so need to use testing repo available at buildlogs.centos.org.
{% elif ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version|int == 9 %}
[RDO-CentOS9-stream-deps]
name=CentOS OpenStack Xena Repository
{% if zuul_site_mirror_fqdn is defined %}
baseurl=http://{{ zuul_site_mirror_fqdn }}:8080/buildlogs.centos/9-stream/cloud/x86_64/openstack-xena/
{% else %}
baseurl=https://buildlogs.centos.org/centos/9-stream/cloud/x86_64/openstack-xena/
{% endif %}
gpgcheck=0
enabled=1
[RDO-CentOS9-stream-nfv]
name=CentOS9 Stream NFV Repository
{% if zuul_site_mirror_fqdn is defined %}
baseurl=http://{{ zuul_site_mirror_fqdn }}:8080/buildlogs.centos/9-stream/nfv/x86_64/openvswitch-2/
{% else %}
baseurl=https://buildlogs.centos.org/centos/9-stream/nfv/x86_64/openvswitch-2/
{% endif %}
gpgcheck=0
enabled=1
{% endif %}