Clean OpenStack service tmp dirs 84/67384/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 25 Mar 2019 19:20:14 +0000 (20:20 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 25 Mar 2019 19:21:23 +0000 (20:21 +0100)
They can be safely removed once all policy.json are generated.

Change-Id: I4eec21650fd661a616647502ee9e30589d67bb89
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/smoke/Dockerfile

index 78fbbc9..6162397 100644 (file)
@@ -43,7 +43,8 @@ RUN apk --no-cache add --virtual .build-deps --update \
     oslopolicy-sample-generator  --format json --output-file /etc/nova/policy.json --namespace nova && \
     deactivate && \
     rm -r oslo upper-constraints.txt upper-constraints.opnfv.txt \
-        /src/patrole /src/barbican-tempest-plugin && \
+        /src/patrole /src/barbican-tempest-plugin \
+        /src/cinder /src/keystone /src/neutron /src/nova && \
     apk del .build-deps
 COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
 CMD ["run_tests", "-t", "all"]