Skip to content

Instantly share code, notes, and snippets.

@mies
Last active December 15, 2015 10:09
Show Gist options
  • Save mies/a2730cb90f28817511a9 to your computer and use it in GitHub Desktop.
Save mies/a2730cb90f28817511a9 to your computer and use it in GitHub Desktop.
example yml
box: node
services:
- mongo:2.6
- id: api
url: file://../api#dev
cmd: node /pipeline/source/app.js
dev:
steps:
- npm-install
- internal/watch:
code: node web.hs
reload: true
build:
steps:
- npm-install
- npm-test
after-steps:
- slack-notifier:
url: $SLACK_URL
channel: notifications
username: walter
notify_on: "failed"
deploy:
push-container:
- internal/docker-push
username: $QUAY_USERNAME
password: $QUAY_PASSWORD
cmd: node ./web.js
tag: $WERCKER_GIT_COMMIT
ports: "5000"
repository: quay.io/wercker/wercker-kubernetes-quay
registry: https://quay.io
update-scheduler:
- kubectl:
server: $KUBERNETES_MASTER
username: $KUBERNETES_USERNAME
password: $KUBERNETES_PASSWORD
command: rolling-update cities
image: quay.io/wercker/wercker-kubernetes-quay:$WERCKER_GIT_COMMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment