Update gnocchi for centos binary

Gnocchi packages are now available in centos repos[1]
for liberty and the images build.

backport: liberty

Closes-Bug:#1478145
[1] http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/

Change-Id: I957754d4a4e35b026d3e27ee23f33ce2e78592ec
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-03-10 10:16:07 +05:30
parent 5669f7e0ad
commit 0cca862991
2 changed files with 7 additions and 6 deletions

View File

@ -2,10 +2,13 @@ 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 install -y \
openstack-gnocchi-common \
&& yum clean all
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['ubuntu', 'debian'] %}

View File

@ -67,8 +67,7 @@ class BuildTest(object):
class BuildTestCentosBinary(BuildTest, base.BaseTestCase):
excluded_images = ["gnocchi-base",
"murano-base",
excluded_images = ["murano-base",
"ironic-pxe",
"ironic-inspector",
"mistral-base",
@ -103,8 +102,7 @@ class BuildTestUbuntuSource(BuildTest, base.BaseTestCase):
class BuildTestOracleLinuxBinary(BuildTest, base.BaseTestCase):
excluded_images = ["gnocchi-base",
"murano-base",
excluded_images = ["murano-base",
"ironic-pxe",
"ironic-inspector",
"mistral-base",