Skip to content

Instantly share code, notes, and snippets.

@ahawkins
Created July 10, 2017 05:27
Show Gist options
  • Save ahawkins/d3025ab99856a3430168fbe1c3088088 to your computer and use it in GitHub Desktop.
Save ahawkins/d3025ab99856a3430168fbe1c3088088 to your computer and use it in GitHub Desktop.
My Buildkite Pipeline
steps:
- name: ':pray: Test non-production'
command: script/ci/test
agents:
queue: 'elastic'
env:
STAGES: sandbox
branches: '!master'
artifact_paths: 'tmp/log/**/*'
- name: ':pray: Smoke test production charts'
command: make clean lint test-charts
agents:
queue: 'elastic'
env:
STAGES: staging production
- wait
- name: ':shipit: Publish non-production charts'
command: make publish
artifact_paths: 'tmp/repo/index.yaml'
agents:
queue: 'elastic'
concurrency: 1
concurrency_group: 'helm-chart-repo/deploy'
branches: '!master'
env:
AWS_ACCOUNT_NAME: production
STAGES: sandbox staging
- block: ':shipit: Deploy'
prompt: 'Deploy to production?'
branches: master
- name: ':world_map: Publish charts'
command: make publish
artifact_paths: 'tmp/repo/index.yaml'
agents:
queue: 'elastic'
concurrency: 1
concurrency_group: 'helm-chart-repo/deploy'
branches: master
env:
AWS_ACCOUNT_NAME: production
STAGES: production
- wait
- name: ':rocket: Deploy efritin'
command: script/deploy-production -m efritin -v $(cat VERSION)
agents:
queue: elastic
concurrency: 1
concurrency_group: 'kviberg-deploy/efritin'
branches: master
- name: ':rocket: Deploy tonaton'
command: script/deploy-production -m tonaton -v $(cat VERSION)
agents:
queue: elastic
concurrency: 1
concurrency_group: 'kviberg-deploy/tonaton'
branches: master
- name: ':rocket: Deploy bikroy'
command: script/deploy-production -m bikroy -v $(cat VERSION)
agents:
queue: elastic
concurrency: 1
concurrency_group: 'kviberg-deploy/bikroy'
branches: master
- name: ':rocket: Deploy ikman'
command: script/deploy-production -m ikman -v $(cat VERSION)
agents:
queue: elastic
concurrency: 1
concurrency_group: 'kviberg-deploy/ikman'
branches: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment