commit f5b46f407175e01f661637c2e1d6351a0974f474
parent 61b18431b5d873d64e0bd75bbab34216f12fdc83
Author: MS <ms@taler.net>
Date: Thu, 10 Sep 2020 12:45:16 +0200
invalidating buildmaster worker
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -391,7 +391,13 @@ BUILDMASTER_FACTORY.addStep(
name="restart buildmaster",
description="trigger buildmaster restart with new configuration",
descriptionDone="Buildmaster updated",
- command=["systemctl", "--user", "restart", "buildbot-master"],
+ # This worker has two problems:
+ # 1 "buildbot reconfig" doesn't work with a systemd-managed
+ # master, because it either doesn't generate a twistd.pid
+ # file or it generates a _invalid_ one.
+ # 2 restarting the master has the problem of _cancelling_
+ # the current builds (including this one)
+ command=["false"],
workdir="../../master/"
)
)