Skip to content

Commit 6fecfd4

Browse files
author
Ghanshyam Mann
committed
Add devstack-enforce-scope job to enable the rbac scope checks
keystone has system scope feature implemented since queens release. Now Devstack also started moving towards the new RBAC. This commit adds a new job 'devstack-enforce-scope' which enable the scope checks on service side and see if devstack setting are fine or not. This job will be expanded to enable the scope checks for the other service also once they start supporting the system scope. This will help us to test the scope check setting. Change-Id: Ie9cd9c7e7cd8fdf8c8930e59ae9d297f86eb9a95
1 parent 971dfbf commit 6fecfd4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.zuul.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,17 @@
580580
SERVICE_IP_VERSION: 6
581581
SERVICE_HOST: ""
582582

583+
- job:
584+
name: devstack-enforce-scope
585+
parent: devstack
586+
description: |
587+
This job runs the devstack with scope checks enabled.
588+
vars:
589+
devstack_localrc:
590+
# Keep enabeling the services here to run with system scope
591+
CINDER_ENFORCE_SCOPE: true
592+
GLANCE_ENFORCE_SCOPE: true
593+
583594
- job:
584595
name: devstack-multinode
585596
parent: devstack
@@ -711,6 +722,7 @@
711722
jobs:
712723
- devstack
713724
- devstack-ipv6
725+
- devstack-enforce-scope
714726
- devstack-platform-fedora-latest
715727
- devstack-platform-centos-8-stream
716728
- devstack-async
@@ -765,6 +777,7 @@
765777
jobs:
766778
- devstack
767779
- devstack-ipv6
780+
- devstack-enforce-scope
768781
- devstack-multinode
769782
- devstack-unit-tests
770783
- openstack-tox-bashate

0 commit comments

Comments
 (0)