aboutsummaryrefslogtreecommitdiff
path: root/tests/templates
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2023-10-25 10:16:14 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2023-11-09 18:11:16 +0100
commit2ed66effa6e4a102919cb53a4b0737f852eb8674 (patch)
treeb4839ed4d8376c6aa1e5cf86833f25238f2db2b5 /tests/templates
parente77002146990c6df2c961e07e1da41440fdab122 (diff)
downloadkolla-2ed66effa6e4a102919cb53a4b0737f852eb8674.tar.gz
kolla-2ed66effa6e4a102919cb53a4b0737f852eb8674.zip
CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Bobcat)
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/900536 Change-Id: I1bc19f8198da3f9ab2ae2a8864c3349b21b0249e
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/template_overrides.j214
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index cc968e290..f507cf619 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -50,15 +50,6 @@ RUN cd /etc/yum.repos.d/ && mkdir not-for-ci/ \
{% endif %} {# if centos/rocky #}
{% raw %}
-{% block base_centos_repo_overrides_post_rpm %}
-{% endraw %}
-
-RUN sed -i \
- -e "s|https://trunk.rdoproject.org|{{ nodepool_rdo_proxy }}|g" \
- /etc/yum.repos.d/delorean*.repo
-
-{% raw %}
-{% endblock %}
{% block base_centos_repo_overrides_post_yum -%}
{%- endraw -%}
@@ -113,10 +104,7 @@ RUN if [ -d /etc/yum.repos.d/not-for-ci/ ]; then \
rm ci-{{ base_distro }}.repo && \
mv not-for-ci/*.repo . && \
rm -rf not-for-ci; \
- fi; \
- sed -i \
- -e "s|{{ nodepool_rdo_proxy }}|https://trunk.rdoproject.org|g" \
- /etc/yum.repos.d/delorean*.repo
+ fi
{% elif base_distro == "debian" %}
RUN sed -i -e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://deb.debian.org|" \
-e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://security.debian.org|" \