Skip to content

Commit

Permalink
move 'Setting Authorized Web Users' down a bit, add a link
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed May 12, 2012
1 parent 593b67e commit cecd0c9
Showing 1 changed file with 28 additions and 26 deletions.
54 changes: 28 additions & 26 deletions master/docs/tutorial/tour.rst
Expand Up @@ -49,32 +49,6 @@ Now, look for the section marked *PROJECT IDENTITY* which reads::

If you want, you can change either of these links to anything you want to see what happens when you change them.

Setting Authorized Web Users
----------------------------

Further down, look for the WebStatus configuration::

c['status'] = []

from buildbot.status import html
from buildbot.status.web import authz, auth

authz_cfg=authz.Authz(
# change any of these to True to enable; see the manual for more
# options
auth=auth.BasicAuth([("pyflakes","pyflakes")]),
gracefulShutdown = False,
forceBuild = 'auth', # use this to test your slave once it is set up
forceAllBuilds = False,
pingBuilder = False,
stopBuild = False,
stopAllBuilds = False,
cancelPendingBuild = False,
)
c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))

The auth.BasicAuth() define authorized users and their passwords. You can change these or add new ones.

After making a change go into the terminal and type::

buildbot reconfig master
Expand Down Expand Up @@ -267,6 +241,34 @@ You can also see the new builds in the web interface.
.. image:: _images/irc-testrun.png
:alt: a successful test run from IRC happened.

Setting Authorized Web Users
----------------------------

Further down, look for the WebStatus configuration::

c['status'] = []

from buildbot.status import html
from buildbot.status.web import authz, auth

authz_cfg=authz.Authz(
# change any of these to True to enable; see the manual for more
# options
auth=auth.BasicAuth([("pyflakes","pyflakes")]),
gracefulShutdown = False,
forceBuild = 'auth', # use this to test your slave once it is set up
forceAllBuilds = False,
pingBuilder = False,
stopBuild = False,
stopAllBuilds = False,
cancelPendingBuild = False,
)
c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))

The ``auth.BasicAuth()`` define authorized users and their passwords. You can
change these or add new ones. See :bb:status:`WebStatus` for more about the
WebStatus configuration.

Debugging with Manhole
----------------------

Expand Down

0 comments on commit cecd0c9

Please sign in to comment.