Xicheng Chang e64450bf40 Initial commit for rally in docker
Not tested, needs further debugging.
patch-2: tested on local machine

Change-Id: I3c81c936e3a351a5e44d0118ec75c392f5026ea8
2015-04-28 16:36:17 -07:00

10 lines
382 B
Docker

From compassindocker/rally
ADD scenarios /opt/compass/rally/scenarios
ADD check_health.py /opt/compass/rally/check_health.py
ADD deployment.json /opt/compass/rally/deployment.json
RUN sed 's|#connection=<None>|connection=mysql://rally:rally@'#{RALLY_DB}'/rally|' /etc/rally/rally.conf && \
rally-manage db recreate && \
chmod -R go+w /opt/rally/database && \
sleep 200