[Buildbot-devel] waterfall authentication?

Axel Hecht l10n.moz at googlemail.com
Mon Apr 28 11:50:00 UTC 2008


public = WebStatus(http_port="tcp:8123:interface=127.0.0.1",
                   allowForce=False)
private = WebStatus(http_port="tcp:8124:interface=127.0.0.1",
                    allowForce=True)

c['status'] = [public, private]

in your master.cfg and then

        # Buildbot stuff
        <Location "/buildbot_admin/">
                AuthType Basic
                AuthName "Buildbot Admin"
                AuthUserFile /home/buildmaster/.buildadmpwd
                Require valid-user
        </Location>

        ProxyPass /buildbot_admin/ http://localhost:8124/
        ProxyPassReverse /buildbot_admin/ http://localhost:8124/

in your apache configuration does the trick for us. We only have the
auth'ed one available by ssl, too, thus the

        ProxyPass /buildbot/ http://127.0.0.1:8123/
        ProxyPassReverse /buildbot/ http://127.0.0.1:8123/

part is in a different <VirtualHost>.

HTH

Axel


2008/4/28 J. Félix Ontañón <fontanon at emergya.es>:
> Hi all!
>
>  It's there anyway to provide authentication for buildbot web interface?
>
>  The minimal request i need it's to provide a web interface with
>  Force-Build and Re-Build buttons only for authenticated users.
>
>  Thanks you all!
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Buildbot-devel mailing list
>  Buildbot-devel at lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>




More information about the devel mailing list