aboutsummaryrefslogtreecommitdiff
path: root/docker/tempest
diff options
context:
space:
mode:
authorChandan Kumar <chkumar@redhat.com>2018-01-25 14:25:41 +0530
committerChandan Kumar <chkumar@redhat.com>2018-02-26 09:36:22 +0000
commitea262264c6592bf6296eed99a475bb36de2f3fa0 (patch)
tree8660e8bc6bdd582262c65188422004ae76debf8f /docker/tempest
parentd37036a6e23d8b01284021af60201bc3781abf15 (diff)
downloadkolla-ea262264c6592bf6296eed99a475bb36de2f3fa0.tar.gz
kolla-ea262264c6592bf6296eed99a475bb36de2f3fa0.zip
Bundle tempest plugins in tempest container
* It includes barbican, blazar, cinder, congress, heat, ironic, keystone, mistral, magnum, murano, monasca, manila, neutron, patrole, telemetry, trove, vitrage, watcher, tripleo-common, sahara, and zaqar tempest plugins. * By using service_available config an user enable or disable a tempest plugin as well as run the tempest plugin tests. Co-Authored-By: Martin André <m.andre@redhat.com> Change-Id: I95a4be6cf1d56bd6f6a7c3cfa057ff8db1ca03fb
Diffstat (limited to 'docker/tempest')
-rw-r--r--docker/tempest/Dockerfile.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/tempest/Dockerfile.j2 b/docker/tempest/Dockerfile.j2
index 85bd268b8..18d753a31 100644
--- a/docker/tempest/Dockerfile.j2
+++ b/docker/tempest/Dockerfile.j2
@@ -7,10 +7,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
- {% set tempest_packages = ['openstack-tempest'] %}
+ {% set tempest_packages = ['openstack-tempest-all'] %}
{{ macros.install_packages(tempest_packages | customizable("packages")) }}
-RUN ln -sf /usr/share/openstack-tempest-* /tempest
+RUN ln -sf /usr/share/openstack-tempest /tempest
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set tempest_packages = ['tempest'] %}
@@ -29,7 +29,7 @@ ADD plugins-archive /
'/tempest'
] %}
-{% set tempest_base_plugins_pip_packages = [
+{% set tempest_plugins_pip_packages = [
'/plugins/*'
] %}
@@ -39,7 +39,7 @@ RUN ln -s tempest-source/* tempest \
&& sed -i 's/^tempest===.*$//' requirements/upper-constraints.txt \
&& {{ macros.install_pip(tempest_pip_packages | customizable("pip_packages")) }} \
&& if [ "$(ls /plugins)" ]; then \
- {{ macros.install_pip(tempest_base_plugins_pip_packages) }}; \
+ {{ macros.install_pip(tempest_plugins_pip_packages) }}; \
fi \
&& mkdir -p /etc/tempest /var/log/tempest /etc/tempest/tempest_lock