A cli tool for interacting with buildkite.com from your terminal.
Sets up the tool, asks for a Buildkite graphql token and a default organization.
# Install golang
brew install go
mkdir $HOME/go
export GOPATH=$HOME/go
# Checkout packer builder
mkdir -p $HOME/go/src/github.com/lox
steps: | |
- name: Show env | |
command: env | |
agents: | |
queue: "$BUILDKITE_AGENT_META_DATA_QUEUE" | |
- name: Test Batch File | |
command: test.bat | |
agents: | |
queue: "$BUILDKITE_AGENT_META_DATA_QUEUE" |
#!/bin/bash | |
set -e -a | |
source /etc/my_secrets | |
exec /usr/bin/buildkite-agent "$@ |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"os/signal" | |
"syscall" | |
"time" | |
) |
steps: | |
# - name: Test 1 | |
# command: test-1.sh | |
# agents: | |
# queue: "$BUILDKITE_AGENT_META_DATA_QUEUE" | |
# - name: Test 2 | |
# command: test-2.sh | |
# agents: | |
# queue: "$BUILDKITE_AGENT_META_DATA_QUEUE" | |
- name: Test 3 |
Currently plugins need to be applied to each step, which ends up being verbose and it's easy for them to get out of synch as changes are made.
I'm proposing a top level plugin
block that would allow plugins to be declared that would then apply to all steps.
This would aim to solve the current pain points:
https://github.com/buildkite/elastic-ci-stack-for-aws
If you are having issues with your elastic stack and none of the suggested troubleshooting steps help, post to the #aws-stack channel on https://chat.buildkite.com/ and we'll assist.
Some details that will help us (feel free to directly message @lox or post in your company private channel if they contain private information).
#!/bin/bash | |
set -euo pipefail | |
# via https://github.com/docker/for-mac/issues/668#issuecomment-284028148 | |
cd ~/Library/Containers/com.docker.docker/Data/database | |
git config --global user.useconfigonly false | |
git reset --hard > /dev/null | |
mkdir -p ./com.docker.driver.amd64-linux/disk | |
touch ./com.docker.driver.amd64-linux/disk/full-sync-on-flush |