diff options
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/tempest/Dockerfile.j2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docker/tempest/Dockerfile.j2 b/docker/tempest/Dockerfile.j2 index 1e60e7295..dbfb0aa9c 100644 --- a/docker/tempest/Dockerfile.j2 +++ b/docker/tempest/Dockerfile.j2 @@ -8,11 +8,17 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set tempest_packages = ['openstack-tempest'] %} + +{{ macros.install_packages(tempest_packages | customizable("packages")) }} +RUN ln -sf /usr/share/openstack-tempest-* /tempest + {% elif base_distro in ['ubuntu'] %} {% set tempest_packages = ['tempest'] %} - {% endif %} {{ macros.install_packages(tempest_packages | customizable("packages")) }} +RUN ln -sf /var/lib/tempest /tempest + + {% endif %} {% elif install_type == 'source' %} @@ -24,10 +30,10 @@ RUN ln -s tempest-source/* tempest \ && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /tempest \ && mkdir -p /etc/tempest /var/log/tempest /etc/tempest/tempest_lock -WORKDIR /tempest - {% endif %} +WORKDIR /tempest + COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start |
