Skip to content

buildkite/starter-pipeline-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Buildkite Starter Pipeline Example

Build status Add to Buildkite

This repository is a friendly starting point for learning how Buildkite pipelines work.

๐Ÿ‘‰ See this example in action: buildkite/starter-pipeline-example

See the full Getting Started Guide for step-by-step instructions on how to get this running, or try it yourself:

Add to Buildkite

Screenshot of example pipeline build page

๐Ÿ“ธ Screenshot 1: A simple 3-step pipeline in action - building, testing, and deploying your rocket ๐Ÿš€

Screenshot of example pipeline build page

๐Ÿ“ธ Screenshot 2: The final deploy step adds a success annotation to your build - and yes, you can add GIFs too!

๐Ÿ›  How it works

The pipeline is platform agnostic, which means it can run on any infrastructure. Its behavior is defined in .buildkite/pipeline.yml, including steps to build, test, and deploy. These steps describe launching a shiny new rocket to the moon. ๐Ÿš€๐ŸŒ•

This pipeline demonstrates a typical Buildkite flow:

  1. Build step - placeholder command to "build the rocket"
  2. Test step - placeholder test stage, depends on build
  3. Deploy step - echoes a launch message and uses buildkite-agent annotate to display an annotation

You can replace each of these steps with real commands suited to your own project.

Create a pipeline

If you need help setting up Buildkite, see Getting started.

With Buildkite setup, you can quickly create a new pipeline by selecting Add to Buildkite. This prefills the pipeline details using template.yml and includes a command to upload the pipeline definition in pipeline.yml.

Requirements

None! This example runs on Buildkite-hosted agents, so there's nothing to install or configure.

Just click Add to Buildkite above and youโ€™re ready to go.

๐Ÿ’ก If youโ€™d like to run this on your own infrastructure instead, see Buildkite Agent setup.

License

See LICENSE (MIT)