To connect Buildkite to Unblocked, follow these steps:
1

Add CI Data Source

In the left sidebar, click on Data Sources. Then click on Add another data source and choose Continuous Integration.
2

Connect Buildkite

Click on the Buildkite tile. CI Add
3

Authorize Your Buildkite Account

  • Create a new API Access Token in Buildkite:
  • Enter “Unblocked” as the Description.
  • Choose the appropriate organization in Organization Access.
  • Select the following REST API Scopes:
    • read_build_logs
    • read_builds
    • read_organizations
    • read_pipelines
    • read_user
  • Copy the following CIDR ranges into Allowed IP Addresses:
    • 34.212.246.90/32
    • 44.235.109.70/32
    • 44.236.252.193/32
    • 52.88.232.82/32
  • Click Create New API Access Token.
Buildkite token
4

Add a Buildkite Webhook

  • Go to the Notification Services page.
  • Click Add Webhook.
  • In the description field, enter “Unblocked”.
  • Copy and Paste the Webhook URL and Token from Unblocked into the corresponding fields in Buildkite.
  • Select the following event:
    • build-finished
  • Ensure that All Pipelines are selected.
  • Leave Branch filtering blank.
  • Click Add Webhook Notification.
5

Select Repositories

Toggle the repositories you want to enable by selecting them.
6

Done

Click Save Settings to apply your changes. Now Unblocked will analyze Buildkite failures in the selected repositories and post reports to pull requests.