Buildkite is a platform for running fast, secure, and scalable continuous integration pipelines on your own infrastructure. Buildkite integration through Opsera’s pipelines allows you to configure and trigger an existing Buildkite pipeline through an Opsera pipeline. This workflow requires setup in the Tool Registry and Pipelines.
Prerequisites for Buildkite Tool Setup
To configure a Buildkite tool in the Tool Registry, you will need to retrieve the following information from the Buildkite portal:
URL -
Organization Name -
Slug -
Access Token - Personal Settings → API Access Tokens
...
Tool Registry Setup
Login to Opsera and navigate to the Tool Registry.
Select ‘+Create a New Tool’ Tool button, locate Buildkite and click the ‘Select Tool’ button Select Tool.
Provide required details and click ‘Create’ Create to save the tool.
Navigate to the ‘Connections’ Connections tab of your new tool.
Provide the following values, fetched from the Buildkite portal:
URL -
Organization Name -
Slug -
Access Token - CClick the ‘Save’ button Save then validate the connection by clicking the ‘Test Connection’ button.
You can now Test Connection. If the connection is successful, you can use the Buildkite tool to fetch and trigger Buildkite pipelines in your Opsera pipeline.
...
Pipeline Configuration
Buildkite integration through Opsera’s pipelines allows you to configure and trigger an existing Buildkite pipeline through an Opsera pipeline.
Create a new pipeline from a blank template and configure a step tool to use the Buildkite tool.
Provide values for the following fields:
Buildkite Tool - From the dropdown, select a configured Buildkite tool from the Tool Registry.
SCM Service Type - Select SCM Service Type where the existing repository to build exists. Choose from Bitbucket, Github or GitLab.
SCM Tool - Select the SCM tool of the repository that is building in the Buildkite pipeline.
Repository - Select the location of the repository that is building in the Buildkite pipeline.
Branch - Select the branch of the repository that is building in the Buildkite pipeline.
Commit -
Commit Message -
Buildkite Pipeline - Select the pipeline from the Buildkite you would like to trigger.Save the pipeline and click Start Pipeline to trigger it.