summaryrefslogtreecommitdiff
path: root/releasenotes/notes/graceful-09c7267360190f7a.yaml
diff options
context:
space:
mode:
authorJames E. Blair <jim@acmegating.com>2021-07-06 10:42:31 -0700
committerJames E. Blair <jim@acmegating.com>2021-07-09 10:36:22 -0700
commit7256c52c34c16c2ff6d6dca4f65554d75ef14797 (patch)
tree238104b55842bc97f6200537d2d39d4a3bdcc4ce /releasenotes/notes/graceful-09c7267360190f7a.yaml
parent657d8c6fb284261f1213b9eaf1cf5c51f47c383b (diff)
downloadzuul-7256c52c34c16c2ff6d6dca4f65554d75ef14797.tar.gz
Add graceful stop environment variable
Add an environment variable that lets users (especially container image users) easily select which way they would like zuul-executor to handle SIGTERM. Previous change: I8d42ea1c19f3e627bbfd32a535493de0cb8a04be Change-Id: Ie15b333712302a3d8f468b083d071d29a7b9043d
Diffstat (limited to 'releasenotes/notes/graceful-09c7267360190f7a.yaml')
-rw-r--r--releasenotes/notes/graceful-09c7267360190f7a.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/releasenotes/notes/graceful-09c7267360190f7a.yaml b/releasenotes/notes/graceful-09c7267360190f7a.yaml
new file mode 100644
index 000000000..f753cc961
--- /dev/null
+++ b/releasenotes/notes/graceful-09c7267360190f7a.yaml
@@ -0,0 +1,13 @@
+---
+features:
+ - |
+ The executor now honors the ``ZUUL_EXECUTOR_SIGTERM_METHOD``
+ environment variable to determine whether ``SIGTERM`` should be
+ equivalent to the ``graceful`` command (the default) or the
+ ``stop`` command.
+upgrade:
+ - |
+ The default behavior when an executor receives SIGTERM has been
+ changed from immediately stopping jobs to gracefully waiting for
+ them to finish. Set the ``ZUUL_EXECUTOR_SIGTERM_METHOD``
+ environment variable to ``stop`` to preserve the old behavior.