
Note, this image is slightly different to most others in Kolla in that it's not a service designed to be deployed via Ansible. It's more a 'tool' type image that is spun up when needed. Partially-Implements: blueprint tempest-gate Change-Id: I1877c03d0804e57d274044aecb1055f847025bec
22 lines
587 B
Django/Jinja
22 lines
587 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum -y install \
|
|
openstack-tempest \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% elif install_type == 'source' %}
|
|
|
|
ADD tempest-archive /tempest-source
|
|
RUN ln -s tempest-source/* tempest \
|
|
&& pip --no-cache-dir install -c requirements/upper-constraints.txt /tempest \
|
|
&& mkdir -p /etc/tempest /var/log/tempest /etc/tempest/tempest_lock
|
|
|
|
{% endif %}
|
|
|
|
{{ include_footer }}
|