Add an autodeploy to circle

pull/10616/head
Andrew Watkins 2016-09-09 17:45:06 -07:00
parent a4b5ce1b96
commit 9864eb64cf
1 changed files with 20 additions and 0 deletions

20
circle.yml Normal file
View File

@ -0,0 +1,20 @@
---
machine:
services:
- docker
dependencies:
override:
- docker info
- docker build --rm=false -t influxdata/mrfusion .
test:
override:
- docker run -d -p 8080:5000 -e PORT=5000 influxdata/mrfusion; sleep 10
- curl --retry 10 --retry-delay 5 -v http://localhost:8080
deployment:
heroku:
branch: develop
commands:
- docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com
- docker push mrfusion-acc/web