summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-23 16:20:27 +0100
committermakefu <github@syntax-fehler.de>2015-12-23 16:20:27 +0100
commit1ef9af2c9a49490a2dda21884ad761675c520d1a (patch)
tree1d37c9a459b35b6c7b011af0247293c94e4aca6b /krebs/3modules
parent9a386718714d70f7100b5de297dfd0869d98e47b (diff)
k 3 buildbot/master: send sigterm before sigkill for cleanup
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/buildbot/master.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/krebs/3modules/buildbot/master.nix b/krebs/3modules/buildbot/master.nix
index 483ba18e7..6ce708769 100644
--- a/krebs/3modules/buildbot/master.nix
+++ b/krebs/3modules/buildbot/master.nix
@@ -95,8 +95,10 @@ let
s.addStep(steps.FileDownload(mastersrc="${cfg.workDir}/{}".format(file),
slavedest=file))
- addShell(s,name="infest-cac-centos7",env={"LOGNAME": "shared"},
- command=nixshell + ["infest-cac-centos7"])
+ addShell(s, name="infest-cac-centos7",env={"LOGNAME": "shared"},
+ sigtermTime=60, # SIGTERM 1 minute before SIGKILL
+ timeout=5400, # 1.5h timeout
+ command=nixshell + ["infest-cac-centos7"])
c['builders'].append(
util.BuilderConfig(name="full-tests",