Skip to content

Commit 2c90487

Browse files
committed
Xena: Replace kolla build blocks with ARG overrides
Some of the build blocks now include a URL, which we do not need to override.
1 parent a47748d commit 2c90487

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

etc/kayobe/kolla.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,6 @@ kolla_build_blocks:
227227
RUN grafana-cli plugins install vonage-status-panel
228228
ironic_inspector_header: |
229229
ADD additions-archive /
230-
prometheus_v2_server_repository_version: |
231-
ARG prometheus_version='2.35.0'
232-
prometheus_alertmanager_repository_version: |
233-
ARG prometheus_alertmanager_version='0.24.0'
234-
prometheus_cadvisor_repository_version: |
235-
ARG prometheus_cadvisor_version='0.40.0'
236-
ARG prometheus_cadvisor_sha256sum='8e3df91eee70c72ac3f3184b9fab1229b037c2e850ff1593103b2bd9028c57c0'
237-
node_exporter_repository_version: |
238-
ARG node_exporter_version='1.3.1'
239-
prometheus_memcached_exporter_repository_version: |
240-
ARG memcached_exporter_version='0.9.0'
241-
haproxy_exporter_repository_version: |
242-
ARG haproxy_exporter_version='0.13.0'
243-
mysqld_exporter_repository_version: |
244-
ARG mysqld_exporter_version='0.13.0'
245-
prometheus_blackbox_exporter_repository_version: |
246-
ARG blackbox_exporter_version='0.19.0'
247230
248231
# Dict mapping image customization variable names to their values.
249232
# Each variable takes the form:
@@ -286,6 +269,18 @@ kolla_build_customizations_ubuntu: {}
286269
# override, append or remove. The value should be a list.
287270
kolla_build_customizations: "{{ kolla_build_customizations_common | combine(kolla_build_customizations_centos if kolla_base_distro == 'centos' else kolla_build_customizations_ubuntu) }}"
288271

272+
# Dict mapping Kolla Dockerfile ARG names to their values.
273+
kolla_build_args:
274+
blackbox_exporter_version: "0.19.0"
275+
haproxy_exporter_version: "0.13.0"
276+
memcached_exporter_version: "0.9.0"
277+
mysqld_exporter_version: "0.13.0"
278+
node_exporter_version: "1.3.1"
279+
prometheus_version: "2.35.0"
280+
prometheus_alertmanager_version: "0.24.0"
281+
prometheus_cadvisor_sha256sum: "8e3df91eee70c72ac3f3184b9fab1229b037c2e850ff1593103b2bd9028c57c0"
282+
prometheus_cadvisor_version: "0.40.0"
283+
289284
###############################################################################
290285
# Kolla-ansible inventory configuration.
291286

etc/kayobe/kolla/kolla-build.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[DEFAULT]
2+
build_args = {{ kolla_build_args.items() | map('join', ':') | join(',') }}

0 commit comments

Comments
 (0)