Browse Source

Merge "Add vitrage-persistor image"

tags/10.0.0.0rc1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
a2e69a2636
2 changed files with 48 additions and 0 deletions
  1. +42
    -0
      docker/vitrage/vitrage-persistor/Dockerfile.j2
  2. +6
    -0
      releasenotes/notes/bug-1869319-aa032c1330b540dc.yaml

+ 42
- 0
docker/vitrage/vitrage-persistor/Dockerfile.j2 View File

@@ -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
- 0
releasenotes/notes/bug-1869319-aa032c1330b540dc.yaml View File

@@ -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