File tree Expand file tree Collapse file tree 5 files changed +19
-25
lines changed Expand file tree Collapse file tree 5 files changed +19
-25
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
131
131
{% set base_centos_yum_repo_packages = [
132
132
'centos-release-ceph-reef' ,
133
133
'centos-release-nfv-openvswitch' ,
134
+ 'centos-release-openstack-epoxy' ,
134
135
'centos-release-opstools' ,
135
136
'epel-release' ,
136
137
] %}
@@ -149,24 +150,12 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
149
150
'centos-ceph-reef' ,
150
151
'centos-nfv-openvswitch' ,
151
152
'centos-opstools' ,
152
- 'centos9-nfv-ovs' ,
153
- 'centos9-opstools' ,
154
- 'centos9-rabbitmq' ,
155
- 'centos9-storage' ,
156
153
'epel' ,
157
154
'influxdb' ,
158
155
'opensearch-2.x' ,
159
156
'opensearch-dashboards-2.x' ,
160
157
] %}
161
158
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
-
170
159
RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }}
171
160
172
161
{% - for repo in base_centos_yum_repos_to_enable | customizable ('centos_yum_repos_to_enable' ) %} && dnf config-manager --enable {{ repo }} {% endfor -%}
Original file line number Diff line number Diff line change @@ -53,6 +53,14 @@ enabled=0
53
53
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
54
54
module_hotfixes=1
55
55
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
+
56
64
[centos-opstools]
57
65
name=(OpenDev mirror) CentOS Stream $releasever - OpsTools - collectd
58
66
baseurl=http://MIRROR/centos-stream/SIGs/$stream/opstools/$basearch/collectd-5/
Original file line number Diff line number Diff line change @@ -13,6 +13,14 @@ enabled=0
13
13
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
14
14
module_hotfixes=1
15
15
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
+
16
24
[centos-opstools]
17
25
name=(OpenDev mirror) CentOS Stream $releasever - OpsTools - collectd
18
26
baseurl=http://MIRROR/centos-stream/SIGs/$stream/opstools/$basearch/collectd-5/
Original file line number Diff line number Diff line change 39
39
}
40
40
OPENSTACK_RELEASE = '2025.1'
41
41
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
-
46
42
# TODO(mandre) check for file integrity instead of downloading from an HTTPS
47
43
# source
48
44
TARBALLS_BASE = "https://tarballs.opendev.org"
283
279
help = ('Set the package type of the distro. If not set then '
284
280
'the packaging type is set to "rpm" if a RHEL based '
285
281
'distro and "deb" if a Debian based distro.' )),
286
- cfg .ListOpt ('rpm_setup_config' , default = [DELOREAN_DEPS ],
282
+ cfg .ListOpt ('rpm_setup_config' , default = [],
287
283
help = ('Comma separated list of .rpm or .repo file(s) '
288
284
'or URL(s) to install before building containers' )),
289
285
cfg .StrOpt ('apt_sources_list' , help = ('Path to custom sources.list' )),
Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ RUN cd /etc/yum.repos.d/ && mkdir not-for-ci/ \
53
53
{% block base_centos_repo_overrides_post_rpm %}
54
54
{% endraw %}
55
55
56
- RUN sed -i \
57
- -e "s|https://trunk.rdoproject.org|{{ nodepool_rdo_proxy }}|g" \
58
- /etc/yum.repos.d/delorean*.repo
59
-
60
56
{% raw %}
61
57
{% endblock %}
62
58
@@ -113,10 +109,7 @@ RUN if [ -d /etc/yum.repos.d/not-for-ci/ ]; then \
113
109
rm ci-{{ base_distro }}.repo && \
114
110
mv not-for-ci/*.repo . && \
115
111
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;
120
113
{% elif base_distro == "debian" %}
121
114
RUN sed -i -e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://deb.debian.org|" \
122
115
-e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://security.debian.org|" \
You can’t perform that action at this time.
0 commit comments