From 60b07c9cb49db8dd7db883058f2d25fc1b93efc6 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Tue, 21 Mar 2017 14:48:54 +0000 Subject: 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 --- reporting/docker/Dockerfile | 4 ++++ reporting/docker/supervisor.conf | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'reporting/docker') diff --git a/reporting/docker/Dockerfile b/reporting/docker/Dockerfile index 42f019a..ad278ce 100644 --- a/reporting/docker/Dockerfile +++ b/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/reporting/docker/supervisor.conf b/reporting/docker/supervisor.conf index 1e0eed9..5e315ba 100644 --- a/reporting/docker/supervisor.conf +++ b/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 -- cgit 1.2.3-korg