From 64605f1cc7117854abb203375deee396e0d65cc1 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Sat, 24 Dec 2016 23:08:46 +0000 Subject: Create Test Reporting landing page JIRA: RELENG-165 In this patch, I do the follow things: 1.deploy tornado server(currently I haven't write any backend code, since the backend code depend on the testapi and I need to communicate with Serena). 2.landing page code(almostly finished. But I haven't the data, so for now, the data this page shows is a mock json. When the testapi and my backend code ready, this page will finally finished) 3.deployment: supervisor + nginx + tornado + angular usage: docker run -itd -p 8000:8000 opnfv/reporting: visit landing page: http://server_ip:8000/reporting/index.html test api: http://server_ip:8000/landing-page/filters visit old reporting page: http://server_ip:8000/display/master/yardstick/status-apex.html Change-Id: I527ab2661ce9e84b2942ebe673afbf5f2bc7878f Signed-off-by: chenjiankun --- utils/test/reporting/docker/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utils/test/reporting/docker/Dockerfile') diff --git a/utils/test/reporting/docker/Dockerfile b/utils/test/reporting/docker/Dockerfile index b5fe09894..42f019a45 100644 --- a/utils/test/reporting/docker/Dockerfile +++ b/utils/test/reporting/docker/Dockerfile @@ -32,6 +32,9 @@ ssh \ python-pip \ git-core \ wkhtmltopdf \ +nodejs \ +npm \ +supervisor \ --no-install-recommends RUN pip install --upgrade pip @@ -41,3 +44,7 @@ RUN pip install -r ${working_dir}/docker/requirements.pip WORKDIR ${working_dir} RUN docker/reporting.sh + +expose 8000 + +CMD ["/usr/bin/supervisord"] -- cgit 1.2.3-korg