Skip to content
Snippets Groups Projects
Commit b4ebaa50 authored by Marc Koderer's avatar Marc Koderer
Browse files

Add binary support for Manila container

Change-Id: Iea77fa26c17e120b5c0487eca8a76972281ee99a
Partially-Implements: blueprint enable-manila-containers
parent 5c4c8636
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,12 @@ FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
RUN yum -y install openstack-manila \
&& yum clean all
{% endif %}
{% elif install_type == 'source' %}
ADD manila-base-archive /manila-base-source
......
FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install openstack-manila-share \
&& yum clean all
{% endif %}
{% endif %}
{{ include_footer }}
USER manila
......@@ -47,8 +47,7 @@ class BuildTest(base.BaseTestCase):
"murano-base",
"ironic-pxe",
"ironic-discoverd",
"mistral-base",
"manila-base"]
"mistral-base"]
failures = 0
for image, result in six.iteritems(bad_results):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment