From ca6bd67119248d4ec54fd39b31e566f1e01b72b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Fri, 28 Feb 2020 12:50:55 +0100 Subject: [PATCH] Remove /src/glance after generating policy.conf MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It also cleans former dirs. Change-Id: I924436652e3fe0f19d0755024839ecb5290aa2f3 Signed-off-by: Cédric Ollivier --- docker/smoke/Dockerfile | 4 ++-- 1 file 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 -- 2.16.6