Buildkite
Last updated
Last updated
is a continuous integration and delivery platform that enablers users to run fast, secure, and scalable pipelines on their own infrastructure.
Integrating Buildkite with Cortex allows you to:
Pull in metrics about your builds and pipelines
Create that track progress and drive alignment on projects involving your Buildkite pipelines
Before getting started:
Create a with read-only permissions for pipelines and builds.
You must be a member of a Buildkite organization to generate and use an access token for it.
In Cortex, navigate to the :
In Cortex, click your avatar in the lower left corner, then click Settings.
Under "Integrations," click Buildkite.
Configure the Buildkite integration form:
API token: Enter your Buildkite API token.
Organizational slug: Enter the slug for your Buildkite organization.
This can be found in your organization's Buildkite settings, or at the end of your Buildkite URL after navigating to Pipelines.
Click Save.
By default, Cortex will use the entity tag (e.g. my-entity
) for your Buildkite pipeline. For example, if your entity tag is my-pipeline
, then the corresponding pipeline tag in Buildkite should also be my-pipeline
.
Cortex will also use the the GitHub, GitLab, Bitbucket, or Azure DevOps repository to connect entities to Buildkite pipelines. For example, if the GitHub repo associated with your Buildkite pipeline is my-org/repo
, then entities in Cortex that also live in my-org/repo
will populate with details from that pipeline.
You can add Buildkite pipelines to an entity by defining the pipeline slug or tags with one of the following blocks in the entity descriptor:
slug
Slug for the Buildkite pipeline
✓
tag
Tag for the Buildkite pipeline
✓
The slug for your pipeline can be found in the Buildkite URL for a given pipeline (e.g., https://buildkite.com//
).
Once the Buildkite integration is established, Cortex will automatically pull in pipeline data to an entity's page. You can access this data from the CI/CD page in the entity's side panel.
You can find a list of pipeline runs for each pipeline linked to a given entity on this page:
Pipeline slug/tag
Action (e.g. "scheduled build")
Timestamp
Branch
State
With the Buildkite integration, you can create Scorecard rules and write CQL queries based on Buildkite pipelines.
The following options are available to get assistance from the Cortex Customer Engineering team:
Chat: Available in the Resource Center
Slack: Users with a connected Slack channel will have a workflow added to their account. From here, you can either @CortexTechnicalSupport or add a :ticket:
reaction to a question in Slack, and the team will respond directly.
Don’t have a Slack channel? Talk with your Customer Success Manager.
The for a build will appear as a tag next to the pipeline slug/tag (e.g. canceled
, passed
, or failed
).
See more examples in the in Cortex.
Email: , or open a support ticket in the in app Resource Center