Clean up tox.ini and document zuul.yaml settings
I tried to remove --sitepacakges and the gate failed
so I added comment and in the .zuul.yaml so future people
will understand why.
I Updated the tox.ini environment description so if someone
does a tox -av it will list all command supportted and a
small description of what
While dcoumenting the zuul.yaml I noticed that I made
patrole-reader a job and I feel that we should also
have it as a gate.
I also saw that extension and multi-node non-voting jobs
where missing reader versions so I added them.
Change-Id: I7b8e4c06ece6b32cab4d7238d0bc250334a3adb3
diff --git a/.zuul.yaml b/.zuul.yaml
index 8130657..bb40649 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -30,7 +30,10 @@
neutron: true
neutron-trunk: true
tempest_test_regex: (?!.*\[.*\bslow\b.*\])(^patrole_tempest_plugin\.tests\.api)
+ # run the tempest all tox environment target with patrole regex
tox_envlist: all
+ # allows job to use the tempest version installed with devstack instead of pypi
+ # according to the requirements.txt
tox_extra_args: --sitepackages
- job:
@@ -81,7 +84,6 @@
devstack_localrc:
RBAC_TEST_ROLES: member
-
- job:
name: patrole-reader
parent: patrole-base
@@ -133,6 +135,14 @@
RBAC_TEST_ROLES: member
- job:
+ name: patrole-multinode-reader
+ parent: patrole-base-multinode
+ voting: false
+ vars:
+ devstack_localrc:
+ RBAC_TEST_ROLES: reader
+
+- job:
name: patrole-py35-member
parent: patrole-base
description: Patrole py35 job for member role.
@@ -194,6 +204,14 @@
devstack_localrc:
RBAC_TEST_ROLES: member
+- job:
+ name: patrole-extension-reader
+ parent: patrole-extension-base
+ voting: false
+ vars:
+ devstack_localrc:
+ RBAC_TEST_ROLES: reader
+
- project:
templates:
- openstack-cover-jobs
@@ -212,12 +230,15 @@
- patrole-member-stein
- patrole-multinode-admin
- patrole-multinode-member
+ - patrole-multinode-reader
- patrole-extension-admin
- patrole-extension-member
+ - patrole-extension-reader
gate:
jobs:
- patrole-admin
- patrole-member
+ - patrole-reader
periodic-stable:
jobs:
- patrole-member-ussuri