Links

Buildkite

Steps to configure Buildkite integration for incident management, using Squadcast.
Buildkite is a platform for running fast, secure, and scalable continuous-integration pipelines on your own infrastructure.
Route detailed alerts from Buildkite to the right users in Squadcast.

Using Buildkite as an Alert Source

  1. 1.
    Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
2. Select Buildkite. Copy the displayed Webhook URL to configure it within Buildkite. Finish by clicking Add Alert Source -> Done.
Important:
When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.

Create a Squadcast webhook in Buildkite

  1. 1.
    Login to your build kite web console and go to Settings tab on the top.
2.Click on Notification Services on left sidebar.
3.Click on Add button beside Webhook.
4.Paste the Build Kite Webhook URL copied from the Squadcast dashboard into the Webhook URL field. In events, select :
* build.finished
* agent.connected
* agent.lost
* agent.disconnected
* agent.stopped
5.Configure the Pipelines and Branch filtering sections as per your requirements. 6.Finally, click on the Add Webhook Notification
Now whenever a build fails in Buildkite, an incident will be created automatically in Squadcast. And once the build for the same pipeline passes, all the Squadcast incidents created would get resolved automatically.
Similarly, when the agent gets disconnected / lost / stopped, an incident is created in Squadcast automatically. And once that agent is connected again, the incident is automatically resolved.
NOTE : The incident gets resolved automatically only if the same agent connects back. If a different agent connects, the user need to manually resolve the incident in the Squadcast Dashboard.
Last modified 27d ago