Skip to content
Snippets Groups Projects
Commit 6ea99983 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Customizations for Tempest"

parents 1f899e1c 43d2a0b7
No related branches found
No related tags found
No related merge requests found
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }} FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }} MAINTAINER {{ maintainer }}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %} {% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
{% set tempest_packages = ['openstack-tempest'] %}
RUN yum -y install \
openstack-tempest \
&& yum clean all
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
{% set tempest_packages = ['tempest'] %}
{% endif %}
RUN apt-get -y install --no-install-recommends \ RUN {{ macros.install_packages(tempest_packages | customizable("packages")) }}
tempest \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
ADD tempest-archive /tempest-source ADD tempest-archive /tempest-source
...@@ -32,4 +29,6 @@ WORKDIR /tempest ...@@ -32,4 +29,6 @@ WORKDIR /tempest
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block tempest_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }} {{ include_footer }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment