This repository is an example Buildkite pipeline that shows how to trigger another pipeline using Trigger Steps.
👉 See this example in action:
- Test pipeline — runs tests and triggers the deployment
- Deployment pipeline — triggered by the test pipeline

Test pipeline: runs tests and triggers deployment

Deployment pipeline: triggered by the test pipeline
This example consists of two separate pipelines:
- The Test pipeline runs tests and then uses a trigger step to trigger the deployment pipeline.
- The Deployment pipeline runs independently and can also be triggered manually.
Each pipeline has its own pipeline.yml
:
.buildkite/pipeline.yml
— defines the test pipeline, including the trigger step.buildkite/pipeline.deploy.yml
— defines the deployment pipeline
See the full Getting Started Guide for step-by-step instructions on how to get this running, or try it yourself:
-
Create the test pipeline Uploads
.buildkite/pipeline.yml
and triggers the deploy pipeline when tests pass: -
Create the deployment pipeline Runs independently or when triggered by the test pipeline:
-
Trigger a build on the test pipeline to see it in action!
See LICENSE (MIT)