Skip to content

Buildkite

When you connect a Buildkite organization to Oblique, Oblique will automatically sync the organization, its users, and its teams.

As you add people to Buildkite, change their roles, move them between teams, remove their access, or add and delete teams, these changes are automatically synced to Oblique.

You can add multiple Buildkite organizations to Oblique. Each is a separate integration, identified by its organization name.

Oblique syncs the following from your Buildkite organization.

Buildkite object Oblique object Capability
Users Accounts Read-only
Organization Resources Read-only
Teams Resources Read-only
Roles Roles Read-only
Organization membership Entitlements Read-only
Team membership Entitlements Read-only

Oblique syncs each Buildkite user in the organization as an Oblique account. People who haven’t accepted their invitation aren’t synced.

Oblique automatically matches Buildkite accounts to users in Oblique. Buildkite accounts are matched to Oblique users by their email (email).

Oblique’s Buildkite integration is read-only. Oblique can’t make changes to your Buildkite organization, its users and teams, or their roles.

Oblique syncs the following from Buildkite as resources:

  • The Buildkite organization you connected
  • Each team in the organization, including secret teams

Every user has an entitlement for the organization. Each member of a team has an entitlement for the team.

Administrators can manage every team in Buildkite. Oblique only shows an entitlement for a team if they were also added to it.

Pipelines, test suites, and registries, and access to them, aren’t synced.

Oblique syncs Buildkite roles as Oblique roles, for both organization and team memberships.

Every entitlement for the organization is for exactly one organization role, and every entitlement for a team is for exactly one team role.

You must be an Administrator in Buildkite to connect this integration.

If you don’t have sufficient permissions, create an install link so someone who does can connect the integration without being an Oblique admin.

The Buildkite integration connects using an API access token with the following REST API scopes:

Buildkite scope What Oblique uses it for
read_organizations Read the organization and its users
read_teams Read the organization’s teams and their members
read_user Check that the token’s owner is an Administrator

An API access token belongs to the Administrator who creates it, rather than to the organization. Oblique doesn’t accept a token created by someone who isn’t an Administrator.

You must be an admin to add an integration.

You connect a Buildkite organization to Oblique by creating an API access token in Buildkite, then adding it to Oblique.

To create an API access token, in Buildkite:

  1. Navigate to Personal Settings > API Access Tokens.
  2. Select New API Access Token.
  3. Add a Description for the token, for example Oblique.
  4. Under Organization Access, select your organization.
  5. Under Token Expiry, select Never.
  6. Under REST API Scopes > Organization & Users, select Read for Organizations, Teams, and User.
  7. Under GraphQL API Access, select Disabled.
  8. Select Create New API Access Token.
  9. Copy the token, which starts with bkua_.

Then, to add a Buildkite integration, navigate to the Integrations page:

  1. Select Add integration.
  2. Select Buildkite.
  3. Under Connect, in API access token, paste the token you created.
  4. Select Add integration.

Oblique will immediately start syncing the organization’s users and teams.

If your organization uses an API IP allowlist, or you set Allowed IP Addresses on the token, allow Oblique’s static IP address for your tenant’s region.

Change Buildkite integration’s authorizations

Section titled “Change Buildkite integration’s authorizations”
You must be an admin to replace an integration’s credentials.

If the API access token expires, is revoked, or needs rotating, you can replace it without removing the integration. From the integration’s detail page:

  1. Navigate to the Settings tab.
  2. Under Connection, select Replace API access token….
  3. Under API access token, paste the new API access token and select Replace API access token.

You can only replace the token with another one for the same organization. To change the organization, instead delete the integration and add another one.

Oblique’s Buildkite integration is read-only, so it can’t be used to manage your Buildkite organization, its users and teams, or their roles. Make these changes in Buildkite directly, and Oblique will sync them automatically.

You must be an admin to remove an integration.

To remove a Buildkite integration, from the integration’s detail page:

  1. Navigate to the Settings tab.
  2. At the bottom of the page, under Delete integration, select Delete integration….
  3. In the confirmation dialog, type the text to confirm, then select Delete integration.

This will immediately stop all syncing and remove all resources from the integration.