aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-07-03 17:24:53 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-03 17:24:53 +0200
commit3a0cb843f4fb236a4b874a0db6427685f86b6280 (patch)
tree0718bcc4ba29ccb2033e7718e896c10f73177ac0 /docker
parentf21f139f9d24d282310d0830a053169532e75596 (diff)
Generate all policies for patrole
Change-Id: Ica6455e3467ef2695d489170bd8f94553a6fdf06 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/smoke/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 79ed32510..f6e95875e 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -78,6 +78,9 @@ RUN apk --no-cache add --update libxml2 libxslt && \
-e git+https://opendev.org/openstack/cinder.git@$CINDER_TAG#egg=cinder && \
oslopolicy-sample-generator --format json --output-file /etc/neutron/policy.json --namespace neutron && \
oslopolicy-sample-generator --format json --output-file /etc/glance/policy.json --namespace glance && \
+ oslopolicy-sample-generator --format json --output-file /etc/nova/policy.json --namespace nova && \
+ oslopolicy-sample-generator --format json --output-file /etc/keystone/policy.json --namespace keystone && \
+ oslopolicy-sample-generator --format json --output-file /etc/cinder/policy.json --namespace cinder && \
deactivate && \
rm -r oslo /src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \
/src/cinder-tempest-plugin /src/keystone-tempest-plugin \