Enable checks and gate for reader role
Since there are three basic roles, Patorle should run checks for all of them
Change-Id: Ic467045a0c784c4b468091c2c2a2583e88c51e58
diff --git a/.zuul.yaml b/.zuul.yaml
index 5203990..d12c277 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -83,6 +83,17 @@
RBAC_TEST_ROLES: member
- job:
+ name: patrole-reader
+ parent: patrole-base
+ description: Patrole job for reader role.
+ # This currently works from stable/stein onward.
+ branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
+ voting: false
+ vars:
+ devstack_localrc:
+ RBAC_TEST_ROLES: reader
+
+- job:
name: patrole-member-rocky
nodeset: openstack-single-node-xenial
parent: patrole-member
@@ -159,14 +170,6 @@
neutron: true
neutron-segments: true
neutron-qos: true
-
-- job:
- name: patrole-extension-member
- parent: patrole-extension-base
- voting: false
- vars:
- devstack_localrc:
- RBAC_TEST_ROLES: member
tempest_test_regex: (?=.*ExtRbacTest)(^patrole_tempest_plugin\.tests\.api)
- job:
@@ -176,7 +179,14 @@
vars:
devstack_localrc:
RBAC_TEST_ROLES: admin
- tempest_test_regex: (?=.*ExtRbacTest)(^patrole_tempest_plugin\.tests\.api)
+
+- job:
+ name: patrole-extension-member
+ parent: patrole-extension-base
+ voting: false
+ vars:
+ devstack_localrc:
+ RBAC_TEST_ROLES: member
- project:
templates:
@@ -192,6 +202,7 @@
jobs:
- patrole-admin
- patrole-member
+ - patrole-reader
- patrole-member-rocky
- patrole-member-queens
- patrole-member-pike