Hi, fellow Buildkiters. First of all thanks for your great work, Buildkite is indeed the best CI system I ever used!
Recently I bumped into a missing feature that might be interesting. We use GitHub integration and GitHub allows us to set up a trigger on
Branch or tag deletion. Meanwhile, there’s no such event to allow on the Buildkite side.
An example use case for this is dropping a per-branch environment on branch deletion. We collect quite a bit of environments during the week in the cloud and they while not deleted.
I can think of various workarounds for this, but could you advise me on how to implement it with minimum pain?
I found an issue How to trigger a build step for branch deletion · Issue #739 · buildkite/agent · GitHub, but there’s no solution there, unfortunately.
The ideal situation we would like to have is very simple:
- Branch deleted in GitHub repo
- GitHub sends webhook to Buildkite
- Buildkite triggers the pipeline (which deletes the environment, yada yada)
Thank you in advance.