Install releng as a python module
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>
Mon, 12 Dec 2016 10:18:21 +0000 (12:18 +0200)
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>
Mon, 12 Dec 2016 10:18:21 +0000 (12:18 +0200)
Modify functest container to install releng modules as a python module.
This way we can use the opnfv.utils.* libraries

Change-Id: Ib61f1c9dc2564135fe3ef6ead58b69e24c99d2c6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
docker/Dockerfile

index 6bdfe5c..f76dd79 100644 (file)
@@ -43,6 +43,7 @@ ARG FUNCTEST_DATA_DIR=${FUNCTEST_BASE_DIR}/data
 ARG FUNCTEST_RESULTS_DIR=${FUNCTEST_BASE_DIR}/results
 ARG FUNCTEST_REPO_DIR=${REPOS_DIR}/functest
 ARG FUNCTEST_TEST_DIR=${FUNCTEST_REPO_DIR}/functest/opnfv_tests
+ARG RELENG_MODULE_DIR=${REPOS_DIR}/releng/modules
 
 # Environment variables
 ENV HOME /home/opnfv
@@ -117,6 +118,9 @@ RUN cd ${FUNCTEST_REPO_DIR} \
     && pip install -r requirements.txt \
     && pip install .
 
+RUN cd ${RELENG_MODULE_DIR} \
+    && pip install .
+
 RUN pip install -r ${REPOS_DIR}/rally/requirements.txt
 RUN pip install -r ${REPOS_DIR}/tempest/requirements.txt