add tox environment for running aclmanager

Change-Id: Ia10a287e4fe0f8003b5943914cb1dd815521d768
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-01-09 10:00:01 -05:00
parent 319f8cd41e
commit afef890fb6
3 changed files with 7 additions and 4 deletions

View File

@ -81,14 +81,14 @@ Between Milestone-2 and Milestone-3
generated (for all release:cycle-with-milestones deliverables)
with::
tox -e venv -- python ./tools/aclmanager.py acls /path/to/openstack-infra/project-config $series
tox -e aclmanager -- acls /path/to/openstack-infra/project-config $series
2. Set the population of all $project-release-branch groups to the
"Release Managers" group and $project-release. This can be done
(for all release:cycle-with-milestones deliverables) by running
``aclmanager.py``::
tox -e venv -- python ./tools/aclmanager.py groups pre_release $user
tox -e aclmanager -- groups pre_release $series $user
($user being your Gerrit username)

View File

@ -483,10 +483,10 @@ To create the ACL patch for stable/newton:
::
tox -e venv -- python ./tools/aclmanager.py acls ~/branches/openstack-infra/project-config newton
tox -e aclmanager -- acls ~/branches/openstack-infra/project-config newton
To set the pre-release group membership:
::
tox -e venv -- python ./tools/aclmanager.py groups pre_release ttx
tox -e aclmanager -- groups pre_release ttx

View File

@ -46,6 +46,9 @@ commands = bash -c "find {toxinidir} \
-name \*.sh \
-print0 | xargs -0 bashate -v"
[testenv:aclmanager]
commands = python {toxinidir}/tools/aclmanager.py {posargs}
[testenv:venv]
deps = .[sphinxext]
commands = {posargs}