Reflected new repo location/url

Signed-off-by: Fabian Arrotin <arrfab@centos.org>
This commit is contained in:
Fabian Arrotin
2024-06-04 13:55:59 +02:00
parent 6ed443d8d3
commit fd6074726d

View File

@@ -1,26 +1,21 @@
{% if ansible_distribution_major_version == '7' and not ansible_architecture == 'x86_64' %}
{% set contentdir = 'altarch' %}
{% else %}
{% set contentdir = 'centos' %}
{% endif %}
{% if mbs_env == 'prod' %}
{% if centos_infra_env == 'prod' %}
[centos-buildtools-common]
name=CentOS koji buildtools repository
baseurl=http://mirror.centos.org/{{ contentdir }}/$releasever/infra/$basearch/buildtools-common/
name=CentOS buildtools repository
baseurl=http://mirror.stream.centos.org/SIGs/$releasever/infra/$basearch/buildtools-common/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/{{ mbs_buildtools_repo_gpgkey }}
{% elif mbs_env == 'stg' %}
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Infra
{% elif centos_infra_env == 'stg' %}
[centos-buildtools-common]
name=CentOS STG koji buildtools repository
baseurl=http://buildlogs.centos.org/centos/$releasever/infra/$basearch/buildtools-common/
name=CentOS STG buildtools repository
baseurl=https://buildlogs.centos.org/centos/$releasever/infra/$basearch/buildtools-common/
enabled=1
gpgcheck=0
{% else %}
[centos-buildtools-common]
name=CentOS dev koji buildtools repository
baseurl=http://repo.dev.centos.org/$releasever/infra/buildtools-common/$basearch/
name=CentOS dev buildtools repository
baseurl=https://repo.dev.centos.org/$releasever/infra/buildtools-common/$basearch/
enabled=1
gpgcheck=0
{% endif %}
{% endif %}