Add tacker binary for rpm based distros

Tacker rpm is present in RDO repositories.
Now images can be built for binary installations.

Change-Id: I50203644ae0cc61fe87f2c7af11ff6ea3ef6df8d
This commit is contained in:
Eduardo Gonzalez 2017-04-06 13:08:22 +01:00
parent 3bd8fe8e10
commit 8d76b269c2
3 changed files with 15 additions and 3 deletions

View File

@ -9,9 +9,20 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set tacker_packages = [
'openstack-tacker'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false && /bin/false
{% endif %}
{{ macros.install_packages(tacker_packages | customizable("packages")) }}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
ADD tacker-archive /tacker-source ADD tacker-archive /tacker-source

View File

@ -0,0 +1,3 @@
---
features:
- Tacker images support binary build from rpm based distros.

View File

@ -85,7 +85,6 @@ class BuildTestCentosBinary(BuildTest, base.BaseTestCase):
"searchlight-base", "searchlight-base",
"senlin-base", "senlin-base",
"solum-base", "solum-base",
"tacker",
"vitrage-base", "vitrage-base",
"vmtp", "vmtp",
"zun-base", "zun-base",
@ -204,7 +203,6 @@ class BuildTestOracleLinuxBinary(BuildTest, base.BaseTestCase):
"searchlight-base", "searchlight-base",
"senlin-base", "senlin-base",
"solum-base", "solum-base",
"tacker",
"vitrage-base", "vitrage-base",
"vmtp", "vmtp",
"zun-base", "zun-base",