This repo contains various Buildkite pipelines for a tutorial (soon to be published) on Stark & Wayne blog.
Click the following button to start the tutorial on your free Buildkite account:
Initially you do not need to fork this repo.
No fields need to be changed at this time. Scroll to the bottom to create the new pipeline.
We can skip the next page "GitHub Webhook Setup" for the moment. Scroll to the bottom and click "Continue to Pipeline".
Now click "New Build" in the top right. Enter an arbitrary message. It can include Buildkite Emoji, such as "Learning to :pipeline: is fun."
The pipeline will wait forever until a Buildkite Agent is provided.
We can install and run buildkite-agent start --spawn 2
to freely host some Buildkite Agents on our local machine:
The Agent will be immediately allocated work to do from our pending pipeline.
Back at the dashboard our pipeline will succeed.
Expand the ./src/show_environment.sh
step to see its output. What you see here will depend on what machine you are running the Agent.
Each pipeline in .buildkite
folder can be run locally -- without setting up the Pipeline on buildkite.com -- using the bk
CLI:
bk local run .buildkite/pipeline.show-environment.yml