Unify deployment sections in CirlceCI config.

This commit is contained in:
Arik Fraimovich 2015-12-04 16:18:58 +02:00
parent 378459d64f
commit 7e3856b4f5

View File

@ -21,17 +21,14 @@ test:
post:
- make pack
deployment:
github:
github_and_docker:
branch: master
commands:
- make upload
docker:
branch: [master, docker]
commands:
- echo "rd_ui/app" >> .dockerignore
- docker build -t redash/redash:$(./manage.py version | sed -e "s/\+/./") .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push redash/redash:$(./manage.py version | sed -e "s/\+/./")
- echo "rd_ui/app" >> .dockerignore
- docker build -t redash/redash:$(./manage.py version | sed -e "s/\+/./") .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push redash/redash:$(./manage.py version | sed -e "s/\+/./")
notify:
webhooks:
- url: https://webhooks.gitter.im/e/895d09c3165a0913ac2f