Merge "Make patrole-member job run for queens and pike branches"
diff --git a/.zuul.yaml b/.zuul.yaml
index 089ba6e..2619ed7 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -55,11 +55,26 @@
     name: patrole-member
     parent: patrole-base
     description: Patrole job for Member role.
+    # This currently works from stable/pike onward.
+    branches:
+      - master
+      - stable/queens
+      - stable/pike
     vars:
       devstack_localrc:
         RBAC_TEST_ROLE: Member
 
 - job:
+    name: patrole-member-queens
+    parent: patrole-member
+    override-checkout: stable/queens
+
+- job:
+    name: patrole-member-pike
+    parent: patrole-member
+    override-checkout: stable/pike
+
+- job:
     name: patrole-multinode-admin
     parent: patrole-base-multinode
     run: playbooks/patrole-multinode-admin/run.yaml
@@ -98,6 +113,8 @@
       jobs:
         - patrole-admin
         - patrole-member
+        - patrole-member-queens
+        - patrole-member-pike
         - patrole-py35-member
         - patrole-multinode-admin
         - patrole-multinode-member
@@ -106,5 +123,7 @@
       jobs:
         - patrole-admin
         - patrole-member
+        - patrole-member-queens
+        - patrole-member-pike
         - patrole-py35-member
         - openstack-tox-lower-constraints
diff --git a/patrole_tempest_plugin/tests/api/identity/v3/test_project_tags_rbac.py b/patrole_tempest_plugin/tests/api/identity/v3/test_project_tags_rbac.py
index d3d84b6..e0be9cb 100644
--- a/patrole_tempest_plugin/tests/api/identity/v3/test_project_tags_rbac.py
+++ b/patrole_tempest_plugin/tests/api/identity/v3/test_project_tags_rbac.py
@@ -13,16 +13,25 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
+from tempest import config
 from tempest.lib.common.utils import data_utils
 from tempest.lib import decorators
 
 from patrole_tempest_plugin import rbac_rule_validation
 from patrole_tempest_plugin.tests.api.identity import rbac_base
 
+CONF = config.CONF
+
 
 class ProjectTagsV3RbacTest(rbac_base.BaseIdentityV3RbacTest):
 
     @classmethod
+    def skip_checks(cls):
+        super(ProjectTagsV3RbacTest, cls).skip_checks()
+        if not CONF.identity_feature_enabled.project_tags:
+            raise cls.skipException("Project tags feature disabled")
+
+    @classmethod
     def resource_setup(cls):
         super(ProjectTagsV3RbacTest, cls).resource_setup()
         cls.project_id = cls.setup_test_project()['id']