Merge "Add support for mistral ubuntu binary containers"

This commit is contained in:
Jenkins 2016-06-15 08:58:55 +00:00 committed by Gerrit Code Review
commit 4b271c7e4a
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()