[buildbot] Enable graceful slave shutdown option in WebUI for authorized user

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 30 13:06:50 PDT 2016


thess pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/?p=buildbot.git;a=commitdiff;h=c89bca2e79c62a8996be44427a31f9081aeb4c4e

commit c89bca2e79c62a8996be44427a31f9081aeb4c4e
Author: Ted Hess <thess at kitschensync.net>
AuthorDate: Thu Jun 30 16:06:38 2016 -0400

    Enable graceful slave shutdown option in WebUI for authorized user
    
    Signed-off-by: Ted Hess <thess at kitschensync.net>
---
 phase1/master.cfg | 2 +-
 phase2/master.cfg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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,



More information about the lede-commits mailing list