Skip to content

Instantly share code, notes, and snippets.


Tim Lucas toolmantim

Block or report user

Report or block toolmantim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Firstly, build the Docker image:

curl | docker build -t bk -

Then try to use it in a project that has a buildkite pipeline.yml file:

docker run -it --rm -v "$(PWD):/app" bk run local
toolmantim /
Created Nov 5, 2018
An example of dynamically adding a trigger step during a running Buildkite build
set -euo pipefail
cat << YML | buildkite-agent pipeline upload
- trigger: "other-pipeline"
async: true
toolmantim / buildkite.yml.schema.json
Last active Oct 21, 2018
JSON Schema for Buildkite Pipeline files
View buildkite.yml.schema.json
"title": "JSON schema for Buildkite pipeline configuration files",
"$schema": "",
"definitions": {
"label": {
"type": "string",
"description": "The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.",
"examples": [ ":docker: Build" ]
"branches": {
toolmantim / pipeline-2.yml
Last active Jun 17, 2018
Checking a prometheus
View pipeline-2.yml
- label: "🔍"
command: 'docker run --rm --entrypoint sh -v "$PWD/prometheus.yml:/src/prometheus.yml" prom/prometheus promtool check config /src/prometheus.yml'
toolmantim / buildkite-bootstrap-wrapper-build-log-output
Last active Jun 11, 2018
An example custom Buildkite Agent bootstrap wrapper that logs the output of all build jobs.
View buildkite-bootstrap-wrapper-build-log-output
set -euo pipefail
# A custom bootstrap wrapper that logs the output of all build jobs.
# To use this file, either set the env variable before starting the agent:
# or the agent configuration key:

Usage example:

$ docker-compose build
$ docker run -it --rm -v /some-local-plugin-path:/plugin:ro buildkite/plugin-example-validator /plugin/schema.yml /plugin/
🙌 Readme examples validate against the schema
toolmantim / pipeline.yml
Created Oct 24, 2017
An example of using Taurus with Buildkite
View pipeline.yml
- command: " some-config.yml"
label: "Taurus"
artifact_paths: "bzt-artifacts/*"
toolmantim / blazemeter
Created Oct 24, 2017
An example of using BlazeMeter with Buildkite
View blazemeter
# Creates a new Blazemeter test with the given BLAZEMETER_TEST_ID env var
# Requires BLAZEMETER_API_ID and BLAZEMETER_API_SECRET environment variables be
# setup on the agent as per:
set -euo pipefail
toolmantim / bootsnap.log
Created Oct 17, 2017
Before/after adding bootsnap
View bootsnap.log
$ # Before bootsnap
$ time DISABLE_SPRING=1 bin/rails r 'exit 0'
real 0m7.030s
user 0m4.429s
sys 0m2.499s
$ # Adding bootsnap
$ git diff -u
diff --git a/Gemfile b/Gemfile
index b6b7854cf..445cb572f 100644
You can’t perform that action at this time.