File tree Expand file tree Collapse file tree 5 files changed +29
-20
lines changed Expand file tree Collapse file tree 5 files changed +29
-20
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
130
130
] %}
131
131
132
132
{% set base_centos_yum_repo_packages = [
133
- 'centos-release-openstack-antelope' ,
133
+ 'centos-release-ceph-quincy' ,
134
+ 'centos-release-nfv-openvswitch' ,
134
135
'centos-release-opstools' ,
135
136
'epel-release' ,
136
137
] %}
@@ -149,13 +150,24 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
149
150
'centos-ceph-quincy' ,
150
151
'centos-nfv-openvswitch' ,
151
152
'centos-opstools' ,
152
- 'centos-rabbitmq-38' ,
153
+ 'centos9-nfv-ovs' ,
154
+ 'centos9-opstools' ,
155
+ 'centos9-rabbitmq' ,
156
+ 'centos9-storage' ,
153
157
'epel' ,
154
158
'influxdb' ,
155
159
'opensearch-2.x' ,
156
160
'opensearch-dashboards-2.x' ,
157
161
] %}
158
162
163
+ {% if base_arch == 'aarch64' %}
164
+
165
+ {# NOTE(hrw): delorean-deps.repo may force x86-64 repos #}
166
+
167
+ RUN sed -i -e "s/x86_64/aarch64/g" /etc/yum.repos.d/delorean-deps.repo
168
+
169
+ {% endif %}
170
+
159
171
RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }}
160
172
161
173
{% - 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,14 +53,6 @@ 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-antelope]
57
- name=(OpenDev mirror) CentOS-$releasever - OpenStack Antelope
58
- baseurl=http://MIRROR/centos-stream/SIGs/$stream/cloud/$basearch/openstack-antelope/
59
- gpgcheck=1
60
- enabled=1
61
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
62
- module_hotfixes=1
63
-
64
56
[centos-opstools]
65
57
name=(OpenDev mirror) CentOS Stream $releasever - OpsTools - collectd
66
58
baseurl=http://MIRROR/centos-stream/SIGs/$stream/opstools/$basearch/collectd-5/
Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ 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-antelope]
17
- name=(OpenDev mirror) CentOS-$releasever - OpenStack Antelope
18
- baseurl=http://MIRROR/centos-stream/SIGs/$stream/cloud/$basearch/openstack-antelope/
19
- gpgcheck=1
20
- enabled=1
21
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
22
- module_hotfixes=1
23
-
24
16
[centos-opstools]
25
17
name=(OpenDev mirror) CentOS Stream $releasever - OpsTools - collectd
26
18
baseurl=http://MIRROR/centos-stream/SIGs/$stream/opstools/$basearch/collectd-5/
Original file line number Diff line number Diff line change 39
39
OPENSTACK_RELEASE = '2023.2'
40
40
41
41
# This is noarch repository so we will use it on all architectures
42
- DELOREAN_DEPS = ""
42
+ DELOREAN_DEPS = "https://trunk.rdoproject.org/centos9-master/" \
43
+ "delorean-deps.repo"
43
44
44
45
# TODO(mandre) check for file integrity instead of downloading from an HTTPS
45
46
# source
Original file line number Diff line number Diff line change @@ -50,6 +50,15 @@ RUN cd /etc/yum.repos.d/ && mkdir not-for-ci/ \
50
50
{% endif %} {# if centos/rocky #}
51
51
52
52
{% raw %}
53
+ {% block base_centos_repo_overrides_post_rpm %}
54
+ {% endraw %}
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
+ {% raw %}
61
+ {% endblock %}
53
62
54
63
{% block base_centos_repo_overrides_post_yum -%}
55
64
{% - endraw -%}
@@ -104,7 +113,10 @@ RUN if [ -d /etc/yum.repos.d/not-for-ci/ ]; then \
104
113
rm ci-{{ base_distro }}.repo && \
105
114
mv not-for-ci/*.repo . && \
106
115
rm -rf not-for-ci; \
107
- fi
116
+ fi; \
117
+ sed -i \
118
+ -e "s|{{ nodepool_rdo_proxy }}|https://trunk.rdoproject.org|g" \
119
+ /etc/yum.repos.d/delorean*.repo
108
120
{% elif base_distro == "debian" %}
109
121
RUN sed -i -e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://deb.debian.org|" \
110
122
-e "s|\[trusted=yes\] http://{{ nodepool_mirror_host }}|http://security.debian.org|" \
You can’t perform that action at this time.
0 commit comments