add tox environment for running aclmanager
Change-Id: Ia10a287e4fe0f8003b5943914cb1dd815521d768 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
@@ -81,14 +81,14 @@ Between Milestone-2 and Milestone-3
|
|||||||
generated (for all release:cycle-with-milestones deliverables)
|
generated (for all release:cycle-with-milestones deliverables)
|
||||||
with::
|
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
|
2. Set the population of all $project-release-branch groups to the
|
||||||
"Release Managers" group and $project-release. This can be done
|
"Release Managers" group and $project-release. This can be done
|
||||||
(for all release:cycle-with-milestones deliverables) by running
|
(for all release:cycle-with-milestones deliverables) by running
|
||||||
``aclmanager.py``::
|
``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)
|
($user being your Gerrit username)
|
||||||
|
|
||||||
|
@@ -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:
|
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
|
||||||
|
3
tox.ini
3
tox.ini
@@ -46,6 +46,9 @@ commands = bash -c "find {toxinidir} \
|
|||||||
-name \*.sh \
|
-name \*.sh \
|
||||||
-print0 | xargs -0 bashate -v"
|
-print0 | xargs -0 bashate -v"
|
||||||
|
|
||||||
|
[testenv:aclmanager]
|
||||||
|
commands = python {toxinidir}/tools/aclmanager.py {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
deps = .[sphinxext]
|
deps = .[sphinxext]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Reference in New Issue
Block a user