aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2024-12-11 10:05:02 +0000
committerGerrit Code Review <review@openstack.org>2024-12-11 10:05:02 +0000
commit33f5eb260bf1828bca83344bf9de654c1577e0be (patch)
tree16f5f03c23fc07ce3117637d1f46232f90fed7fc /tests
parentf57457f90631634e92829ba149233fb3b1e929f9 (diff)
parent08a97807be4a4ba20c7897c82407ca87df53dee3 (diff)
downloadkolla-33f5eb260bf1828bca83344bf9de654c1577e0be.tar.gz
kolla-33f5eb260bf1828bca83344bf9de654c1577e0be.zip
Merge "Revert "CentOS/Rocky: use CentOS Cloud SIG repo instead of Delorean (Dalmatian)""
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/template_overrides.j214
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index f507cf619..cc968e290 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -50,6 +50,15 @@ 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 -%}
@@ -104,7 +113,10 @@ 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
+ fi; \
+ sed -i \
+ -e "s|{{ nodepool_rdo_proxy }}|https://trunk.rdoproject.org|g" \
+ /etc/yum.repos.d/delorean*.repo
{% 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|" \