Skip to content
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

clear shutdown of CI servers before deleting them #217

Open
MartinNowak opened this issue Dec 9, 2018 · 0 comments
Open

clear shutdown of CI servers before deleting them #217

MartinNowak opened this issue Dec 9, 2018 · 0 comments

Comments

@MartinNowak
Copy link
Member

To avoid "Exited with status -1 (agent lost)" failures like this one, we should run a soft-shutdown of hetzner cloud servers before finally deleting them.
Unfortunately their API doesn't seem to support soft-shutdown+delete, so we'd have to do the second step via some webhook (e.g. buildkite's agent.stopped) or via a timer (short enough for heroku to not shutdown the instance).
Also might require some tweaking of the agent's stop_timeout and the agent_shutdown_check.timer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant