aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-02-28 12:50:55 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-02-28 12:52:38 +0100
commitca6bd67119248d4ec54fd39b31e566f1e01b72b5 (patch)
treea3709daa3d39f2c07761c3d169c469cae9e549ba
parent8e297c49c481961959b29c2080cc059fcc84e9ee (diff)
Remove /src/glance after generating policy.conf
It also cleans former dirs. Change-Id: I924436652e3fe0f19d0755024839ecb5290aa2f3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/smoke/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 42938f056..c0eec437f 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -56,7 +56,7 @@ RUN apk --no-cache add --update libxml2 libxslt && \
/src/cinder-tempest-plugin /src/keystone-tempest-plugin \
/src/octavia-tempest-plugin && \
mkdir -p /home/opnfv/functest/data/refstack && \
- mkdir -p /etc/neutron /etc/cinder /etc/glance /etc/keystone /etc/nova && \
+ mkdir -p /etc/neutron /etc/glance && \
virtualenv --no-pip --no-setuptools --no-wheel oslo && . oslo/bin/activate && \
pip3 install --no-cache-dir --src /src -cupper-constraints.txt -cupper-constraints.opnfv.txt \
oslo.policy -e git+https://opendev.org/openstack/neutron.git@$NEUTRON_TAG#egg=neutron \
@@ -67,7 +67,7 @@ RUN apk --no-cache add --update libxml2 libxslt && \
rm -r oslo upper-constraints.txt upper-constraints.opnfv.txt \
/src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \
/src/cinder-tempest-plugin /src/keystone-tempest-plugin \
- /src/octavia-tempest-plugin /src/neutron && \
+ /src/octavia-tempest-plugin /src/neutron /src/glance && \
apk del .build-deps
COPY compute.txt /home/opnfv/functest/data/refstack/compute.txt
COPY object.txt /home/opnfv/functest/data/refstack/object.txt