Merge "add tox environment for running aclmanager"

This commit is contained in:
Jenkins 2017-01-11 03:53:05 +00:00 committed by Gerrit Code Review
commit 317910ac49
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}