aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--3rd_party/static/testapi-ui/components/results-report/data/2018.08/testcases.json5
-rw-r--r--docker/Dockerfile.api45
-rw-r--r--docker/Dockerfile.web37
3 files changed, 36 insertions, 51 deletions
diff --git a/3rd_party/static/testapi-ui/components/results-report/data/2018.08/testcases.json b/3rd_party/static/testapi-ui/components/results-report/data/2018.08/testcases.json
index 319b78c..28c8403 100644
--- a/3rd_party/static/testapi-ui/components/results-report/data/2018.08/testcases.json
+++ b/3rd_party/static/testapi-ui/components/results-report/data/2018.08/testcases.json
@@ -231,13 +231,10 @@
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_show_delete_trunk",
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_trunk_empty_subports_list",
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_trunk_subports_not_specified",
- "neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk",
- "neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk_with_description",
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_delete_trunk_with_subport_is_allowed",
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_get_subports",
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_list_trunks",
"neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_remove_subport",
- "neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_show_trunk_has_project_id",
"neutron.tests.tempest.api.test_trunk.TrunksSearchCriteriaTest.test_list_no_pagination_limit_0",
"neutron.tests.tempest.api.test_trunk.TrunksSearchCriteriaTest.test_list_pagination",
"neutron.tests.tempest.api.test_trunk.TrunksSearchCriteriaTest.test_list_pagination_page_reverse_asc",
@@ -271,7 +268,7 @@
"neutron.tests.tempest.api.test_trunk_negative.TrunkTestJSON.test_remove_subport_port_id_disabled_trunk",
"neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle"
],
- "total": 43
+ "total": 40
},
"functest.tempest.osinterop": {
"cases": [
diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api
index a577a49..4840739 100644
--- a/docker/Dockerfile.api
+++ b/docker/Dockerfile.api
@@ -33,37 +33,30 @@ ENV HOME /home
# Packaged dependencies
RUN apt-get update && apt-get install -y \
-curl \
-git \
-gcc \
-wget \
-python-dev \
-python-pip \
-crudini \
-libffi-dev \
-libssl-dev \
-libxml2-dev \
-libxslt1-dev \
---no-install-recommends
+ curl \
+ git \
+ gcc \
+ wget \
+ python-dev \
+ python-pip \
+ crudini \
+ libffi-dev \
+ libssl-dev \
+ libxml2-dev \
+ libxslt1-dev \
+ --no-install-recommends \
+ && rm -rf /var/lib/apt/lists/*
RUN pip install -U setuptools
-WORKDIR /home
+RUN git config --global http.sslVerify false && \
+ git clone https://gerrit.opnfv.org/gerrit/dovetail-webportal $HOME/testapi && \
+ cd $HOME/testapi && \
+ git checkout -f $BRANCH && \
+ mkdir -p $HOME/testapi/logs/api
-#RUN pip install --upgrade pip
+WORKDIR $HOME/testapi
-RUN git config --global http.sslVerify false
-
-RUN git clone https://gerrit.opnfv.org/gerrit/dovetail-webportal
-
-WORKDIR /home/dovetail-webportal
-RUN git checkout -f $BRANCH
-
-RUN mkdir -p /home/testapi
-RUN mkdir -p /home/testapi/logs/api
-RUN cp -rf /home/dovetail-webportal/* /home/testapi
-
-WORKDIR /home/dovetail-webportal
RUN pip install -r requirements.txt
RUN bash install.sh
diff --git a/docker/Dockerfile.web b/docker/Dockerfile.web
index 438ada6..d4b604e 100644
--- a/docker/Dockerfile.web
+++ b/docker/Dockerfile.web
@@ -12,31 +12,26 @@ LABEL version="v2" description="OVP nginx"
ARG BRANCH=master
ENV HOME /home
-WORKDIR /home
-
-RUN apt-get update
-
-RUN apt-get install -y git nginx supervisor
-
-RUN git config --global http.sslVerify false
-RUN git clone https://gerrit.opnfv.org/gerrit/dovetail-webportal
-
-WORKDIR /home/dovetail-webportal
-RUN git checkout -f $BRANCH
-
-RUN mkdir -p /home/testapi
-
-RUN cp -rf /home/dovetail-webportal/* /home/testapi
-
-RUN mkdir /www
-RUN cp -r /home/testapi/3rd_party/static /www/
-
+WORKDIR $HOME
+
+# Packaged dependencies
+RUN apt-get update && apt-get install -y \
+ git \
+ nginx \
+ supervisor \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN git config --global http.sslVerify false && \
+ git clone https://gerrit.opnfv.org/gerrit/dovetail-webportal $HOME/testapi && \
+ cd $HOME/testapi && \
+ git checkout -f $BRANCH && \
+ mkdir /www && \
+ cp -r $HOME/testapi/3rd_party/static /www/
ADD nginx/nginx.conf /etc/nginx/nginx.conf
ADD nginx/sites-enabled/default /etc/nginx/sites-available/default
ADD nginx/sites-enabled/default /etc/nginx/sites-enabled/default
ADD supervisor/conf.d/nginx.conf /etc/supervisor/conf.d/nginx.conf
-ADD start-nginx.sh /home/start-nginx.sh
+ADD start-nginx.sh $HOME/start-nginx.sh
-WORKDIR /home
CMD ["bash", "start-nginx.sh"]