Adding a Gerrit third-party testing account

* doc/source/gerrit.rst: Quick documentation added for the method by
which a Gerrit administrator can create the sort of account needed
for third-party testing.

Change-Id: Ia7ec399027ad664a43d6084f988ed84ff572ac00
This commit is contained in:
Jeremy Stanley 2013-10-08 18:58:37 +00:00
parent 5d497101d9
commit 7bae8b8f8d

View File

@ -367,7 +367,7 @@ To rename a project:
#. Move both the git repository and the mirror on
review.openstack.org::
sudo mv ~gerrit2/review_site/git/openstack/{OLD,NEW}.git
sudo mv /var/lib/git/openstack/{OLD,NEW}.git
@ -415,6 +415,29 @@ or manually update their remotes with something like::
git remote set-url origin https://git.openstack.org/$ORG/$PROJECT
Third-Party Testing Access
--------------------------
The command to add an account for an automated system which gets
-1/+1 code verify voting rights (as outlined in `Third Party
Testing`_) looks like:
.. code-block:: shell
ssh -p 29418 review.openstack.org "gerrit create-account \
--group 'External Testing Tools' \
--full-name 'Some CI Bot' \
--email ci-bot@third-party.org \
--ssh-key 'ssh-rsa AAAAB3Nz...zaUCse1P ci-bot@third-party.org' \
some-ci-bot"
Details on the create-account_ command can be found in the Gerrit
API documentation.
.. _`External Testing Tools`: http://ci.openstack.org/third_party.html
.. _create-account: https://review.openstack.org/Documentation/cmd-create-account.html
Resetting a Username in Gerrit
------------------------------