Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require auth for all buildbot actions #272

Merged
merged 1 commit into from Mar 24, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Require auth for all actions

  • Loading branch information
edunham committed Mar 23, 2016
commit c152695e9f9c4a372d61e9b549007eb2e439c7ba
@@ -426,15 +426,17 @@ c['status'].append(HttpStatusPush(
from buildbot.status import html
from buildbot.status.web import authz, auth



authz_cfg=authz.Authz(
auth=auth.BasicAuth([(HTTP_USERNAME, HTTP_PASSWORD)]),
gracefulShutdown = True,
forceBuild = True,
forceAllBuilds = True,
pingBuilder = True,
stopBuild = True,
stopAllBuilds = True,
cancelPendingBuild = True,
gracefulShutdown = 'auth',
forceBuild = 'auth',
forceAllBuilds = 'auth',
pingBuilder = 'auth',
stopBuild = 'auth',
stopAllBuilds = 'auth',
cancelPendingBuild = 'auth',
)
c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.