aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2023-01-10 14:24:26 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2023-01-10 13:34:09 +0000
commitc9e60c0b21984902272838a63f5935ea6da56cbb (patch)
tree66ad274c58444eaa62d82a0c7b1d0dac2ccd83e2 /tests
parent9fd6e3608ec1b79ec72199c63af77141cf7e0003 (diff)
downloadkolla-c9e60c0b21984902272838a63f5935ea6da56cbb.tar.gz
kolla-c9e60c0b21984902272838a63f5935ea6da56cbb.zip
CI: CentOS/Rocky: revert Delorean repo url at the end
We revert all repos to their normal versions. This change takes care of forgotten Delorean repos. Change-Id: I8bcddbd6ebf3119f4f56d86e47377f27b8671b1a
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/template_overrides.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index c9b5b23e8..7318556cd 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -114,7 +114,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|" \