From 9864eb64cf1082d2cfda4a1c4f79a914b03e6bbf Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Fri, 9 Sep 2016 17:45:06 -0700 Subject: [PATCH] Add an autodeploy to circle --- circle.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000000..5249d461dd --- /dev/null +++ b/circle.yml @@ -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