Merge "Move sigterm_method to zuul.conf"

This commit is contained in:
Zuul
2021-08-23 18:22:27 +00:00
committed by Gerrit Code Review
3 changed files with 26 additions and 9 deletions

View File

@@ -1,13 +1,13 @@
---
features:
- |
The executor now honors the ``ZUUL_EXECUTOR_SIGTERM_METHOD``
environment variable to determine whether ``SIGTERM`` should be
The executor now honors the :attr:`executor.sigterm_method`
configuration file setting 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.
them to finish. Set the :attr:`executor.sigterm_method`
configuration file setting to ``stop`` to preserve the old behavior.