Add support for mistral ubuntu binary containers

partially implements blueprint add-mistral-binary

Change-Id: I5aeb4eba3233947421baf0d35319e1090370a61a
Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-05-17 10:01:43 +05:30
parent 40cd7550dd
commit 739d657918
5 changed files with 22 additions and 4 deletions

View File

@ -8,6 +8,12 @@ RUN yum -y install \
openstack-mistral-api \ openstack-mistral-api \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get -y install --no-install-recommends \
mistral-api \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -11,8 +11,9 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ RUN apt-get -y install --no-install-recommends \
&& /bin/false mistral-common \
&& apt-get clean
{% endif %} {% endif %}

View File

@ -8,6 +8,12 @@ RUN yum -y install \
openstack-mistral-engine \ openstack-mistral-engine \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get -y install --no-install-recommends \
mistral-engine \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -8,6 +8,12 @@ RUN yum -y install \
openstack-mistral-executor \ openstack-mistral-executor \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get -y install --no-install-recommends \
mistral-executor \
&& apt-get clean
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -86,8 +86,7 @@ class BuildTestCentosSource(BuildTest, base.BaseTestCase):
class BuildTestUbuntuBinary(BuildTest, base.BaseTestCase): class BuildTestUbuntuBinary(BuildTest, base.BaseTestCase):
excluded_images = ["mistral-base", excluded_images = ["zaqar"]
"zaqar"]
def setUp(self): def setUp(self):
super(BuildTestUbuntuBinary, self).setUp() super(BuildTestUbuntuBinary, self).setUp()