Add support for magnum ubuntu binary containers
Change-Id: I5ad90f96aa58a99765feb2a3bc96157a4a61310f Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug:#1582518
This commit is contained in:
parent
ca1a0551bc
commit
b60d8bc629
@ -8,6 +8,12 @@ RUN yum -y install \
|
|||||||
openstack-magnum-api \
|
openstack-magnum-api \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get -y install --no-install-recommends \
|
||||||
|
magnum-api\
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -9,6 +9,12 @@ RUN curl -L https://trunk.rdoproject.org/centos7/current/delorean.repo -o /etc/y
|
|||||||
openstack-magnum-common \
|
openstack-magnum-common \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get -y install --no-install-recommends \
|
||||||
|
magnum-common \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
|
@ -9,6 +9,14 @@ RUN yum -y install \
|
|||||||
tar \
|
tar \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get -y install --no-install-recommends \
|
||||||
|
magnum-conductor\
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Install kubectl binary (ugh)
|
# Install kubectl binary (ugh)
|
||||||
RUN cd /tmp \
|
RUN cd /tmp \
|
||||||
&& curl -L https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.15.0/kubernetes.tar.gz -o /tmp/kubernetes.tar.gz \
|
&& curl -L https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.15.0/kubernetes.tar.gz -o /tmp/kubernetes.tar.gz \
|
||||||
@ -17,7 +25,6 @@ RUN cd /tmp \
|
|||||||
&& rm -rf /tmp/kubernetes
|
&& rm -rf /tmp/kubernetes
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@ class BuildTestCentosSource(BuildTest, base.BaseTestCase):
|
|||||||
|
|
||||||
class BuildTestUbuntuBinary(BuildTest, base.BaseTestCase):
|
class BuildTestUbuntuBinary(BuildTest, base.BaseTestCase):
|
||||||
excluded_images = ["mistral-base",
|
excluded_images = ["mistral-base",
|
||||||
"magnum-base",
|
|
||||||
"zaqar"]
|
"zaqar"]
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user