This repo contains various Buildkite pipelines for a tutorial (soon to be published) on Stark & Wayne blog.
Go to file
Dr Nic Williams 7406c16af7
ensure docker/mount-buildkite-agent runs on os=linux
2020-03-04 13:43:49 +10:00
.buildkite ensure docker/mount-buildkite-agent runs on os=linux 2020-03-04 13:43:49 +10:00
images buildkite-agent start --spawn 2 2020-02-25 19:07:13 +10:00
src start build after creating pipeline 2020-03-02 14:37:03 +10:00
.gitignore idea to run one pipeline to collect configuration for subsequent pipeline 2020-03-02 14:07:22 +10:00
README.md remove starkandwayne/buildkite-base docker image -- found diff solution to passing agent 2020-02-28 09:08:34 +10:00
docker-compose.yml run show_environment.sh inside docker-compose 2020-03-03 14:35:00 +10:00

README.md

Buildkite Tutorial

This repo contains various Buildkite pipelines for a tutorial (soon to be published) on Stark & Wayne blog.

Get started

Click the following button to start the tutorial on your free Buildkite account:

Start tutorial on Buildkite

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."

no-agents

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:

buildkite-agent start

The Agent will be immediately allocated work to do from our pending pipeline.

Back at the dashboard our pipeline will succeed.

build-success

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.

Run locally

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