Changeset 82619
- Timestamp:
- 08/16/11 14:48:31 (4 years ago)
- File:
-
- 1 edited
-
contrib/buildbot/master.cfg (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
contrib/buildbot/master.cfg
r82106 r82619 243 243 from buildbot.status import html 244 244 from buildbot.status.web import auth, authz 245 from buildbot.status.web.auth import HTPasswdAuth 246 htauth = HTPasswdAuth('htpasswd') 247 authz_cfg=authz.Authz( 248 auth=htauth, 249 gracefulShutdown = 'auth', 250 forceBuild = 'auth', 251 forceAllBuilds = 'auth', 252 pingBuilder = 'auth', 253 stopBuild = 'auth', 254 stopAllBuilds = 'auth', 255 cancelPendingBuild = 'auth', 256 ) 245 if production: 246 from buildbot.status.web.auth import HTPasswdAuth 247 htauth = HTPasswdAuth('htpasswd') 248 authz_cfg=authz.Authz( 249 auth=htauth, 250 gracefulShutdown = 'auth', 251 forceBuild = 'auth', 252 forceAllBuilds = 'auth', 253 pingBuilder = 'auth', 254 stopBuild = 'auth', 255 stopAllBuilds = 'auth', 256 cancelPendingBuild = 'auth', 257 ) 258 else: 259 authz_cfg=authz.Authz( 260 gracefulShutdown = True, 261 forceBuild = True, 262 forceAllBuilds = True, 263 pingBuilder = True, 264 stopBuild = True, 265 stopAllBuilds = True, 266 cancelPendingBuild = True 267 ) 257 268 258 269 ####### PROJECT IDENTITY
Note: See TracChangeset
for help on using the changeset viewer.

