Follow the steps below to configure a service so as to extract its related alert data from Buildkite.
Squadcast will then process this information to create incidents for this service as per your preferences.
On the Sidebar, click on Services.
You can either navigate to an existing service or make a new one by clicking on Add Service.
Check the service details like name, description, and the associated escalation policy for this service and make sure it is correctly entered.
From the integration types drop down, select the integration type as Buildkite.
Enter the service name and description as required.
Copy the Build Kite Webhook URL and click on Save button to create the service.
- Login to your build kite web console and go to Settings tab on the top.
- Click on Notification Services on left sidebar.
- Click on Add button beside Webhook.
Paste the Build Kite Webhook URL copied from the Squadcast dashboard into the Webhook URL field. In events, select :
- Configure the Pipelines and Branch filtering sections as per your requirements.
- 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.