Skip to content

Commit ac463d2

Browse files
authored
Merge pull request #452 from stackhpc/upstream/2025.1-2025-07-28
Synchronise 2025.1 with upstream
2 parents 07e13f9 + 3488e01 commit ac463d2

File tree

5 files changed

+19
-25
lines changed

5 files changed

+19
-25
lines changed

docker/base/Dockerfile.j2

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
131131
{% set base_centos_yum_repo_packages = [
132132
'centos-release-ceph-reef',
133133
'centos-release-nfv-openvswitch',
134+
'centos-release-openstack-epoxy',
134135
'centos-release-opstools',
135136
'epel-release',
136137
] %}
@@ -149,24 +150,12 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
149150
'centos-ceph-reef',
150151
'centos-nfv-openvswitch',
151152
'centos-opstools',
152-
'centos9-nfv-ovs',
153-
'centos9-opstools',
154-
'centos9-rabbitmq',
155-
'centos9-storage',
156153
'epel',
157154
'influxdb',
158155
'opensearch-2.x',
159156
'opensearch-dashboards-2.x',
160157
] %}
161158

162-
{% if base_arch == 'aarch64' %}
163-
164-
{# NOTE(hrw): delorean-deps.repo may force x86-64 repos #}
165-
166-
RUN sed -i -e "s/x86_64/aarch64/g" /etc/yum.repos.d/delorean-deps.repo
167-
168-
{% endif %}
169-
170159
RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }}
171160

172161
{%- for repo in base_centos_yum_repos_to_enable | customizable('centos_yum_repos_to_enable') %} && dnf config-manager --enable {{ repo }} {% endfor -%}

docker/base/ci-centos.repo

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ enabled=0
5353
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
5454
module_hotfixes=1
5555

56+
[centos-openstack-epoxy]
57+
name=(OpenDev mirror) CentOS-$releasever - OpenStack Epoxy
58+
baseurl=http://MIRROR/centos-stream/SIGs/$stream/cloud/$basearch/openstack-epoxy/
59+
gpgcheck=1
60+
enabled=1
61+
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Cloud
62+
module_hotfixes=1
63+
5664
[centos-opstools]
5765
name=(OpenDev mirror) CentOS Stream $releasever - OpsTools - collectd
5866
baseurl=http://MIRROR/centos-stream/SIGs/$stream/opstools/$basearch/collectd-5/

docker/base/ci-rocky.repo

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ enabled=0
1313
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
1414
module_hotfixes=1
1515

16+
[centos-openstack-epoxy]
17+
name=(OpenDev mirror) CentOS-$releasever - OpenStack Epoxy
18+
baseurl=http://MIRROR/centos-stream/SIGs/$stream/cloud/$basearch/openstack-epoxy/
19+
gpgcheck=1
20+
enabled=1
21+
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Cloud
22+
module_hotfixes=1
23+
1624
[centos-opstools]
1725
name=(OpenDev mirror) CentOS Stream $releasever - OpsTools - collectd
1826
baseurl=http://MIRROR/centos-stream/SIGs/$stream/opstools/$basearch/collectd-5/

kolla/common/config.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
}
4040
OPENSTACK_RELEASE = '2025.1'
4141

42-
# This is noarch repository so we will use it on all architectures
43-
DELOREAN_DEPS = "https://trunk.rdoproject.org/centos9-epoxy/" \
44-
"delorean-deps.repo"
45-
4642
# TODO(mandre) check for file integrity instead of downloading from an HTTPS
4743
# source
4844
TARBALLS_BASE = "https://tarballs.opendev.org"
@@ -283,7 +279,7 @@
283279
help=('Set the package type of the distro. If not set then '
284280
'the packaging type is set to "rpm" if a RHEL based '
285281
'distro and "deb" if a Debian based distro.')),
286-
cfg.ListOpt('rpm_setup_config', default=[DELOREAN_DEPS],
282+
cfg.ListOpt('rpm_setup_config', default=[],
287283
help=('Comma separated list of .rpm or .repo file(s) '
288284
'or URL(s) to install before building containers')),
289285
cfg.StrOpt('apt_sources_list', help=('Path to custom sources.list')),

tests/templates/template_overrides.j2

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ RUN cd /etc/yum.repos.d/ && mkdir not-for-ci/ \
5353
{% block base_centos_repo_overrides_post_rpm %}
5454
{% endraw %}
5555

56-
RUN sed -i \
57-
-e "s|https://trunk.rdoproject.org|{{ nodepool_rdo_proxy }}|g" \
58-
/etc/yum.repos.d/delorean*.repo
59-
6056
{% raw %}
6157
{% endblock %}
6258

@@ -113,10 +109,7 @@ RUN if [ -d /etc/yum.repos.d/not-for-ci/ ]; then \
113109
rm ci-{{ base_distro }}.repo && \
114110
mv not-for-ci/*.repo . && \
115111
rm -rf not-for-ci; \
116-
fi; \
117-
sed -i \
118-
-e "s|{{ nodepool_rdo_proxy }}|https://trunk.rdoproject.org|g" \
119-
/etc/yum.repos.d/delorean*.repo
112+
fi;
120113
{% elif base_distro == "debian" %}
121114
RUN sed -i -e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://deb.debian.org|" \
122115
-e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://security.debian.org|" \

0 commit comments

Comments
 (0)