autoland: include test dependencies in autoland service container (bug 1337501) r?smacleod draft
authorMāris Fogels <mars@mozilla.com>
Tue, 07 Feb 2017 15:46:22 -0500
changeset 109 110321f0ae456b5ab318cef342ae02f66ab30b91
parent 108 3d6f4e92f87421e5688972cf81894980b63b29a0
child 110 3ccb9b0e9b58aeb0b0b8cb492fb0b91b10b48555
push id68
push usermfogels@mozilla.com
push dateWed, 08 Feb 2017 21:45:22 +0000
reviewerssmacleod
bugs1337501
autoland: include test dependencies in autoland service container (bug 1337501) r?smacleod Include the project test dependencies in the autoland service container so that the container can run the test suite. MozReview-Commit-ID: BvADA4ZJM90
autoland/public-web-api/Dockerfile-dev
--- a/autoland/public-web-api/Dockerfile-dev
+++ b/autoland/public-web-api/Dockerfile-dev
@@ -1,12 +1,14 @@
 FROM python:3.5-alpine
 
 ADD requirements.txt /requirements.txt
 RUN pip install -r /requirements.txt
+ADD test-requirements.txt /test-requirements.txt
+RUN pip install -r /test-requirements.txt
 
 ADD . /app
 WORKDIR /app
 
 # We install outside of the app directory to create the .egg-info in a
 # location that will not be mounted over. This means /app needs to be
 # added to PYTHONPATH though.
 ENV PYTHONPATH /app