Add immediate graceful shutdown for Runner Instance
complete
J
Jonathan Cavazos
A way for a runner terminating to report back to CircleCI "I am shutting down, please retry any builds on this runner that fail".
The purpose is to maximize the post-run script capabilities such as with GCP. GCP already provides a shutdown script you can run when an instance is preempted.
S
Sebastian Lerner
complete
Sending a SIGTERM to the launch agent will shut it down and let the task that is already in progress continue to execute to completion. If you send a second SIGTERM, it will cancel the task being executed by the task agent.