-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agent does not always gracefully shut down #2678
Comments
Note that the inability to gracefully shut down properly also impacts autoscaling. In some cases the agent receives a SIGTERM and blocks indefinitely even though no builds are running. The end result is the autoscaler runs the underlying problem is with how we used |
@bradrydzewski it's |
sorry, I should have been more specific ... the autoscaler does not actually call |
we have a new implementation of the docker runner that solves this issue. This should be a drop-in replacement for the agent. Some of the environment variables changed, but we do have some logic to try and map old variables to new variables here (if something is missing please send a pull request)
I am going to leave this issue open since we are still testing this runner at cloud.drone.io. Once testing is complete we will tag a release, update the documentation, and then close this issue. |
* feat: [CDE-320]: fixed strings in app
Watchtower (utility to auto-upgrade Docker images) is not properly stopping the Agent on upgrade, which causes stuck builds. The root cause is unknown and requires more research. Hopefully it is something simple ...
The text was updated successfully, but these errors were encountered: