Open jmendiara opened 6 years ago
I'm not sure I've parsed this correctly, but I think you're asking for the ability to run a pipeline, or steps, when a PR is merged. I'd definitely find that useful - I'd use it to
at the least.
Yep, not only on PR merge, but PR close (that is, when merged or discarded)
We'd use this too. Currently we make this happen by having another microservice receive Github webhooks, watch out for PR merges, and then manually call a Buildkite pipeline to discard old review environments. I'd rather it be part of Buildkite directly, obviously.
This is something that would be useful for us as well. We are planning to implement this with a cloud function that listens for pull request events and triggers the pipeline API for close events, but it'd be nicer to have this built directly into Buildkite.
I'd like this feature for deleting branch preview environments. IS this still a live issue?
+1
Any update on this ? I am forced to use github actions to call the BK api to trigger an undeploy pipeline.
Yes please. Don't force me into the arms of GHA. :D
Just wondering how this is not a feature already?
As a workaround, we are using GitHub Actions to trigger a BuildKite pipeline to clean up our cloud infrastructure that is deployed using BuildKite? Seems a bit of a backwards approach to cleaning up on a closed
event. Is there anything on the roadmap for this?
Use Case:
To make this happen you need to listen to github webhooks by your own and trigger pipelines via api.
It would be nice to have buildkite native support for this.
[1] Pull Request pipeline understood as something only runs in PR, configured this way