Browse Source

Merge "Add vitrage-persistor image" into stable/stein

changes/17/722417/1
Zuul 1 year ago
committed by Gerrit Code Review
parent
commit
95e421483e
  1. 42
      docker/vitrage/vitrage-persistor/Dockerfile.j2
  2. 6
      releasenotes/notes/bug-1869319-aa032c1330b540dc.yaml

42
docker/vitrage/vitrage-persistor/Dockerfile.j2

@ -0,0 +1,42 @@
FROM {{ namespace }}/{{ image_prefix }}vitrage-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block vitrage_persistor_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_package_type == 'rpm' %}
{% set vitrage_persistor_packages = [
'openstack-vitrage-persistor'
] %}
{{ macros.install_packages(vitrage_persistor_packages | customizable("packages")) }}
{% elif base_package_type == 'deb' %}
{% if base_distro == 'debian' %}
{% set vitrage_persistor_packages = [
'vitrage-persistor'
] %}
{{ macros.install_packages(vitrage_persistor_packages | customizable("packages")) }}
{% else %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% endif %}
{% endif %}
{% endif %}
{% block vitrage_persistor_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER vitrage

6
releasenotes/notes/bug-1869319-aa032c1330b540dc.yaml

@ -0,0 +1,6 @@
---
fixes:
- |
Adds missing ``vitrage-persistor`` image, required by Vitrage
deployments for storing data.
`LP#1869319 <https://launchpad.net/bugs/1869319>`__
Loading…
Cancel
Save