Merge "Fix Dockerfile for support mysql and postgres"

This commit is contained in:
Zuul 2018-09-21 10:55:27 +00:00 committed by Gerrit Code Review
commit d1a4b14235
2 changed files with 7 additions and 3 deletions

View File

@ -41,13 +41,15 @@ Changed
* Deprecate api_info argument of all clients which inherits from OSClient
and deprecate api_version argument of cleanup.manager.cleanup, because
api information has been moved into credentails object.
* `Docker image <https://hub.docker.com/r/xrally/xrally-openstack>`_ now supports
mysql and postgres as db backends.
Removed
~~~~~~~
* Remove deprecated wrappers (rally_openstack.wrappers) and
helpers (scenario utils) for keystone, cinder, glance
services. The new service model should be used instead
* Remove deprecated wrappers (rally_openstack.wrappers) and
helpers (scenario utils) for keystone, cinder, glance
services. The new service model should be used instead
(see ``rally_openstack.services`` module for more details)
while developing custom plugins. All the inner plugins used
the new code for a long time.

View File

@ -13,6 +13,8 @@ COPY etc/motd /etc/motd
WORKDIR /home/rally/source
RUN pip install . --constraint upper-constraints.txt && \
pip install pymysql && \
pip install psycopg2 && \
mkdir /etc/rally && \
echo "[database]" > /etc/rally/rally.conf && \
echo "connection=sqlite:////home/rally/data/rally.db" >> /etc/rally/rally.conf