Merge "Reuse /var/lib/tempest symlink for rpm also"
This commit is contained in:
commit
9e9e31ed2c
@ -11,17 +11,14 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
{% if base_package_type == 'rpm' %}
|
{% if base_package_type == 'rpm' %}
|
||||||
{% set tempest_packages = ['openstack-tempest-all'] %}
|
{% set tempest_packages = ['openstack-tempest-all'] %}
|
||||||
|
|
||||||
{{ macros.install_packages(tempest_packages | customizable("packages")) }}
|
|
||||||
RUN ln -sf /usr/share/openstack-tempest /tempest
|
|
||||||
|
|
||||||
{% elif base_package_type == 'deb' %}
|
{% elif base_package_type == 'deb' %}
|
||||||
{% set tempest_packages = ['tempest'] %}
|
{% set tempest_packages = ['tempest'] %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{{ macros.install_packages(tempest_packages | customizable("packages")) }}
|
{{ macros.install_packages(tempest_packages | customizable("packages")) }}
|
||||||
RUN ln -sf /var/lib/tempest /tempest
|
RUN ln -sf /var/lib/tempest /tempest
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
ADD tempest-archive /tempest-source
|
ADD tempest-archive /tempest-source
|
||||||
|
Loading…
Reference in New Issue
Block a user