diff options
author | James E. Blair <jim@acmegating.com> | 2021-07-06 10:42:31 -0700 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2021-07-09 10:36:22 -0700 |
commit | 7256c52c34c16c2ff6d6dca4f65554d75ef14797 (patch) | |
tree | 238104b55842bc97f6200537d2d39d4a3bdcc4ce /releasenotes/notes/graceful-09c7267360190f7a.yaml | |
parent | 657d8c6fb284261f1213b9eaf1cf5c51f47c383b (diff) | |
download | zuul-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.yaml | 13 |
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. |