summaryrefslogtreecommitdiffstats
path: root/reporting/docker
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/docker')
-rw-r--r--reporting/docker/Dockerfile4
-rw-r--r--reporting/docker/nginx.conf4
-rw-r--r--reporting/docker/supervisor.conf4
-rwxr-xr-xreporting/docker/web_server.sh4
4 files changed, 8 insertions, 8 deletions
diff --git a/reporting/docker/Dockerfile b/reporting/docker/Dockerfile
index 07440ad..630a4d8 100644
--- a/reporting/docker/Dockerfile
+++ b/reporting/docker/Dockerfile
@@ -21,7 +21,7 @@ LABEL version="1.0" description="OPNFV Test Reporting Docker container"
ARG BRANCH=master
ENV HOME /home/opnfv
-ENV working_dir ${HOME}/releng/utils/test/reporting
+ENV working_dir ${HOME}/releng-testresults/reporting
ENV CONFIG_REPORTING_YAML ${working_dir}/reporting/reporting.yaml
WORKDIR ${HOME}
@@ -40,7 +40,7 @@ supervisor \
RUN pip install --upgrade pip && easy_install -U setuptools==30.0.0
-RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng /home/opnfv/releng
+RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng-testresults /home/opnfv/releng-testresults
RUN pip install -r ${working_dir}/requirements.txt
RUN sh -c 'curl -sL https://deb.nodesource.com/setup_8.x | bash -' \
diff --git a/reporting/docker/nginx.conf b/reporting/docker/nginx.conf
index 66bd7e4..7a41640 100644
--- a/reporting/docker/nginx.conf
+++ b/reporting/docker/nginx.conf
@@ -11,7 +11,7 @@ server {
server_name localhost;
location / {
- alias /home/opnfv/releng/utils/test/reporting/pages/dist/;
+ alias /home/opnfv/releng-testresults/reporting/pages/dist/;
}
location /api/ {
@@ -19,6 +19,6 @@ server {
}
location /display/ {
- alias /home/opnfv/releng/utils/test/reporting/display/;
+ alias /home/opnfv/releng-testresults/reporting/display/;
}
}
diff --git a/reporting/docker/supervisor.conf b/reporting/docker/supervisor.conf
index 49310d4..830749d 100644
--- a/reporting/docker/supervisor.conf
+++ b/reporting/docker/supervisor.conf
@@ -3,7 +3,7 @@ nodaemon = true
[program:tornado]
user = root
-directory = /home/opnfv/releng/utils/test/reporting/api
+directory = /home/opnfv/releng-testresults/reporting/api
command = python server.py --port=800%(process_num)d
process_name=%(program_name)s%(process_num)d
numprocs=4
@@ -15,5 +15,5 @@ command = service nginx restart
[program:configuration]
user = root
-directory = /home/opnfv/releng/utils/test/reporting/pages
+directory = /home/opnfv/releng-testresults/reporting/pages
command = bash config.sh
diff --git a/reporting/docker/web_server.sh b/reporting/docker/web_server.sh
index 0dd8df7..065c991 100755
--- a/reporting/docker/web_server.sh
+++ b/reporting/docker/web_server.sh
@@ -3,11 +3,11 @@ cp -r display /usr/share/nginx/html
# nginx config
-cp /home/opnfv/releng/utils/test/reporting/docker/nginx.conf /etc/nginx/conf.d/
+cp /home/opnfv/releng-testresults/reporting/docker/nginx.conf /etc/nginx/conf.d/
echo "daemon off;" >> /etc/nginx/nginx.conf
# supervisor config
-cp /home/opnfv/releng/utils/test/reporting/docker/supervisor.conf /etc/supervisor/conf.d/
+cp /home/opnfv/releng-testresults/reporting/docker/supervisor.conf /etc/supervisor/conf.d/
# Manage Angular front end
cd pages && /bin/bash angular.sh