From: Ted Hess Date: Thu, 30 Jun 2016 20:06:38 +0000 (-0400) Subject: Enable graceful slave shutdown option in WebUI for authorized user X-Git-Tag: v1~257 X-Git-Url: http://git.openwrt.org/?p=buildbot.git;a=commitdiff_plain;h=c89bca2e79c62a8996be44427a31f9081aeb4c4e Enable graceful slave shutdown option in WebUI for authorized user Signed-off-by: Ted Hess --- diff --git a/phase1/master.cfg b/phase1/master.cfg index 744ae55..5e51466 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -498,7 +498,7 @@ if ini.has_option("status", "bind"): # change any of these to True to enable; see the manual for more # options auth=auth.BasicAuth([(ini.get("status", "user"), ini.get("status", "password"))]), - gracefulShutdown = False, + gracefulShutdown = 'auth', forceBuild = 'auth', # use this to test your slave once it is set up forceAllBuilds = 'auth', pingBuilder = False, diff --git a/phase2/master.cfg b/phase2/master.cfg index 2bb2dd8..4154c1d 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -300,7 +300,7 @@ if ini.has_option("status", "bind"): # change any of these to True to enable; see the manual for more # options auth=auth.BasicAuth([(ini.get("status", "user"), ini.get("status", "password"))]), - gracefulShutdown = False, + gracefulShutdown = 'auth', forceBuild = 'auth', # use this to test your slave once it is set up forceAllBuilds = 'auth', pingBuilder = False,