diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-03-21 14:48:54 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-03-25 01:07:45 +0000 |
commit | 60b07c9cb49db8dd7db883058f2d25fc1b93efc6 (patch) | |
tree | 46c2413200057a0b4477ea11a2b735647d1d118e /reporting/docker | |
parent | 3bda241da0264a6a46cbda51f61931dd4299db20 (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 'reporting/docker')
-rw-r--r-- | reporting/docker/Dockerfile | 4 | ||||
-rw-r--r-- | reporting/docker/supervisor.conf | 2 |
2 files changed, 5 insertions, 1 deletions
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 |