Skip to content

Commit

Permalink
hasuracli dockerfile and migration scripts moved to compose dir, disa…
Browse files Browse the repository at this point in the history
…ble docker login if credentials not configured
  • Loading branch information
Héctor Hurtado committed May 14, 2019
1 parent 270f204 commit 002fc99
Show file tree
Hide file tree
Showing 22 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ $(buildbot_plugins):
$(MAKE) --directory=$@

docker_login:
ifdef DOCKER_USER
docker login -u $${DOCKER_USER} -p $${DOCKER_PASS}
endif
File renamed without changes.
4 changes: 2 additions & 2 deletions compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ services:

hasura-migrate:
build:
dockerfile: ../Dockerfile.hasuracli
dockerfile: Dockerfile.hasuracli
context: .
command: /bin/sh -c "sleep 10 && cd /hasura && /go/bin/hasura migrate apply"
depends_on:
- deeptracy-server
volumes:
- ../hasura:/hasura
- ./hasura:/hasura
File renamed without changes.

0 comments on commit 002fc99

Please sign in to comment.