Skip to content

Cancelled jobs in buildkite leave vagrant boxes running

Created by: davejrt

If a job is cancelled, either by a user or a new push to a feature branch a pipeline exits without running any pre-exit commands which we use to destroy any infra created.

This can lead to hanging vagrant boxes which need to be cleaned up in order to reduce infra costs.