Fix Ubuntu binary build and deploy gate

Signed-off-by: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Closes-Bug: #1616349
Change-Id: I82a245474392d22017faf30fa89d6dc5e01ab2c2
This commit is contained in:
Jeffrey Zhang 2016-08-22 16:49:51 +08:00
parent 755d5172b3
commit 2a1c25d6e3
No known key found for this signature in database
GPG Key ID: B178EDF8751547E8
4 changed files with 8 additions and 3 deletions

View File

@ -11,7 +11,7 @@ MAINTAINER {{ maintainer }}
{% elif base_distro in ['ubuntu'] %}
{% set designate_sink_packages = [
'designate-sink',
'designateclient'
'python-designateclient'
] %}
{% endif %}
{{ macros.install_packages(designate_sink_packages | customizable("packages")) }}

View File

@ -32,7 +32,8 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
RUN mkdir -p /var/www/cgi-bin/keystone \
&& cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/main \
&& cp -a /usr/share/keystone/wsgi.py /var/www/cgi-bin/keystone/admin \
&& echo > /etc/apache2/ports.conf
&& echo > /etc/apache2/ports.conf \
&& rm /etc/apache2/sites-enabled/keystone.conf
{% endif %}
{% elif install_type == 'source' %}

View File

@ -15,6 +15,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get -y install --no-install-recommends \
iproute2 \
neutron-plugin-ml2 \
neutron-server \
openvswitch-switch \

View File

@ -91,9 +91,12 @@ class BuildTestCentosSource(BuildTest, base.BaseTestCase):
class BuildTestUbuntuBinary(BuildTest, base.BaseTestCase):
excluded_images = ["neutron-networking-sfc-agent",
excluded_images = ["kuryr",
"neutron-networking-sfc-agent",
"senlin-base",
"vmtp",
"zaqar",
"watcher-base",
"congress-base"]
def setUp(self):