mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Unify deployment sections in CirlceCI config.
This commit is contained in:
parent
378459d64f
commit
7e3856b4f5
13
circle.yml
13
circle.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user