diff options
| author | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-03-10 10:16:07 +0530 |
|---|---|---|
| committer | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-03-10 17:28:06 +0530 |
| commit | 0cca862991dee6b1adb5e3052450e676fd928fd8 (patch) | |
| tree | bc61ed0e27183f1a3b6a6a1fd69f9cfef82d86a9 | |
| parent | 5669f7e0ad2e31c68d18e326bc8b21507294f424 (diff) | |
| download | kolla-0cca862991dee6b1adb5e3052450e676fd928fd8.tar.gz kolla-0cca862991dee6b1adb5e3052450e676fd928fd8.zip | |
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
| -rw-r--r-- | docker/gnocchi/gnocchi-base/Dockerfile.j2 | 7 | ||||
| -rw-r--r-- | tests/test_build.py | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/docker/gnocchi/gnocchi-base/Dockerfile.j2 b/docker/gnocchi/gnocchi-base/Dockerfile.j2 index e5c98d4aa..67800ef91 100644 --- a/docker/gnocchi/gnocchi-base/Dockerfile.j2 +++ b/docker/gnocchi/gnocchi-base/Dockerfile.j2 @@ -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'] %} diff --git a/tests/test_build.py b/tests/test_build.py index 829f45234..df089e941 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -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", |
