summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-03-21 14:48:54 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-03-25 01:07:45 +0000
commit04ef201b1e8f5f3dcfde4319854b81c25240e63f (patch)
tree63668da7fd79ed0071710a5ed69a6c4f348aad7d /utils/test/reporting/docker
parent33ad7e23e1d76011a574f709c0d2bb915983e6d1 (diff)
Create Catalogue page
JIRA: RELENG-193 1.create a page to list all project. 2.This page can get test case list of certain project. 3.This page can show information of certain test case. Change-Id: I79e0d3aafa99c054865a0d2948b99918802f32a7 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'utils/test/reporting/docker')
-rw-r--r--utils/test/reporting/docker/Dockerfile4
-rw-r--r--utils/test/reporting/docker/supervisor.conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/utils/test/reporting/docker/Dockerfile b/utils/test/reporting/docker/Dockerfile
index 42f019a45..ad278ce1e 100644
--- a/utils/test/reporting/docker/Dockerfile
+++ b/utils/test/reporting/docker/Dockerfile
@@ -42,6 +42,10 @@ RUN pip install --upgrade pip
RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng /home/opnfv
RUN pip install -r ${working_dir}/docker/requirements.pip
+WORKDIR ${working_dir}/api
+RUN pip install -r requirements.txt
+RUN python setup.py install
+
WORKDIR ${working_dir}
RUN docker/reporting.sh
diff --git a/utils/test/reporting/docker/supervisor.conf b/utils/test/reporting/docker/supervisor.conf
index 1e0eed9c8..5e315babe 100644
--- a/utils/test/reporting/docker/supervisor.conf
+++ b/utils/test/reporting/docker/supervisor.conf
@@ -3,7 +3,7 @@ nodaemon = true
[program:reporting_tornado]
user = root
-directory = /home/opnfv/utils/test/reporting/api
+directory = /home/opnfv/utils/test/reporting/api/api
command = python server.py --port=800%(process_num)d
process_name=%(program_name)s%(process_num)d
numprocs=4