Skip to content

clear shutdown of CI servers before deleting them #217

@MartinNowak

Description

@MartinNowak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions