CI/Master only: pin opensearch{-dashboards}

pin opensearch and opensearch-dashboards to 2.12. for now
Closes-Bug: #2060668
Related-Bug: #2060306

Change-Id: I3df4823d78474d94e138ff73f0f577bd247bdad0
Signed-off-by: Sven Kieske <kieske@osism.tech>
This commit is contained in:
Sven Kieske 2024-04-09 14:11:54 +02:00
parent 3e502dc34d
commit 19a004e0a5
No known key found for this signature in database
4 changed files with 25 additions and 0 deletions

View File

@ -10,3 +10,10 @@ Pin-Priority: 1000
Package: *
Pin: release n=bookworm-backports
Pin-Priority: -1000
# NOTE (SvenKieske): pin until we have proper authentication
# between haproxy and opensearch-dashboard in CI
# see bug https://bugs.launchpad.net/kolla/+bug/2060668
Package: opensearch*
Pin: version 2.12.*
Pin-Priority: 1000

View File

@ -9,3 +9,10 @@ Pin-Priority: 1000
Package: *
Pin: origin dlm.mariadb.com
Pin-Priority: 1000
# NOTE (SvenKieske): pin until we have proper authentication
# between haproxy and opensearch-dashboard in CI
# see bug https://bugs.launchpad.net/kolla/+bug/2060668
Package: opensearch*
Pin: version 2.12.*
Pin-Priority: 1000

View File

@ -10,6 +10,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='opensearch-dashboards', shell='/bin/bash', homedir='/usr/share/opensearch-dashboards') }}
{{ macros.enable_extra_repos(['opensearch-dashboards']) }}
# (SvenKieske): Workaround for https://bugs.launchpad.net/kolla/+bug/2060668
{% if base_package_type == 'rpm' %}
RUN dnf -y install 'dnf-command(versionlock)' && \
dnf versionlock add --raw 'opensearch-dashboards-0:2.12.*'
{% endif %}
{% set opensearch_dashboards_packages = ['opensearch-dashboards'] %}
{{ macros.install_packages(opensearch_dashboards_packages | customizable("packages")) }}

View File

@ -10,6 +10,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='opensearch', shell='/bin/bash', homedir='/usr/share/opensearch') }}
{{ macros.enable_extra_repos(['opensearch']) }}
# (SvenKieske): Workaround for https://bugs.launchpad.net/kolla/+bug/2060668
{% if base_package_type == 'rpm' %}
RUN dnf -y install 'dnf-command(versionlock)' && \
dnf versionlock add --raw 'opensearch-0:2.12.*'
{% endif %}
{% set opensearch_packages = [
'opensearch'
] %}