Buildkite
Last updated
Last updated
The Buildkite integration provides Sleuth with the ability to track your Buildkite builds and associate them with your corresponding Sleuth deploys. Once configured, the Sleuth Buildkite integration silently monitors your deployment activity, and ties your Buildkite builds with associated deployments you make to your integrated change sources by matching the git SHAs from your code repos. Sleuth then shows you a snapshot of your build state at the time of deploy.
To add the Sleuth Buildkite integration:
Click Integrations in the sidebar.
Click the** CI/CD** tab, then click add in the Buildkite card.
Enter your Buildkite User API token if you have one. If not, click on generate and create one: Make sure to select the requested scopes, then copy the new token into the Sleuth dialog.
Press Save
On successful integration, you'll see a new connection you can remove or inspect. You'll configure the default build server later.
You can create multiple connections and choose which connection is relevant for each usage.
Read the Buildkite documentation for more information on generating Personal API Tokens.
The Sleuth Buildkite integration configuration simply consists of pointing the Buildkite integration to your projects that you want Sleuth to collect build information for.
To configure the Buildkite integration, you will need to set a default build server:
Click Integrations in the sidebar, then click the Builds tab.
Select a project to set as the default build server. You'll need to add a code deployment to the selected project if you haven't already done so.
Now that the Buildkite integration is configured, you will begin seeing information displayed in the Builds tab of a deploy, as shown below.
Click on Integrations in the left sidebar, then on Builds.
In the Buildkite integration card, click remove.
If there are no more active connections, the Buildkite integration is disconnected and no longer available to any projects within that organization.
Click the Set default build server dropdown.