Merge "Add new image for tempest"

This commit is contained in:
Jenkins 2015-11-27 09:02:21 +00:00 committed by Gerrit Code Review
commit 563b561269
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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 }}

View File

@ -142,6 +142,10 @@ location = http://github.com/kanaka/noVNC/tarball/v0.5.1
type = url
location = http://tarballs.openstack.org/swift/swift-master.tar.gz
[tempest]
type = url
location = http://tarballs.openstack.org/tempest/tempest-master.tar.gz
[zaqar]
type = url
location = http://tarballs.openstack.org/zaqar/zaqar-master.tar.gz