Last active
December 15, 2015 10:09
-
-
Save mies/a2730cb90f28817511a9 to your computer and use it in GitHub Desktop.
example yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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