yume-runner/internal/pkg
Earl Warren e02e0fc5f5
wait for jobs to complete when stopping the runner
When receiving a signal (INT or TERM) wait for running jobs to
complete instead of terminating them right away.

The new shutdown_timeout configuration setting can be used to force
the termination after a grace delay. If not specified or zero it will
shutdown immediately, for backward compatibility. It will be the case
with existing configuration files or when a configuration file is not
specified.

The config.yml created with the generate-config subcommand will
however default shutdown_timeout to 3h (same as timeout) because it is
likely what a new admin would expect: shutting down waits for jobs to
complete and not abort them.
2024-06-07 12:33:34 +02:00
..
client ci(lint): refactor code for clarity and linting compliance (#289) 2023-07-13 01:10:54 +00:00
config wait for jobs to complete when stopping the runner 2024-06-07 12:33:34 +02:00
envcheck typo in error message 2024-05-03 09:54:34 +02:00
labels Upgrade the default container to node:20 2024-06-07 11:41:14 +02:00
report Update tests 2024-04-20 08:21:35 +02:00
ver Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00