Attempt to not make ci interfere with dev setup
This commit is contained in:
Родитель
c67a03078c
Коммит
50e628d102
|
@ -52,7 +52,7 @@ jobs:
|
|||
name: Test Code
|
||||
command: |
|
||||
cp .env-dist .env
|
||||
docker-compose run -e DEVELOPMENT test-ci
|
||||
docker-compose -f docker-compose-ci.yml run -e DEVELOPMENT test-ci
|
||||
|
||||
deploy:
|
||||
docker:
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
version: "2"
|
||||
services:
|
||||
|
||||
app:
|
||||
build: .
|
||||
volumes:
|
||||
- .:/app
|
||||
env_file:
|
||||
- .env
|
||||
command: "true"
|
||||
|
||||
db:
|
||||
image: postgres:9.5-alpine
|
||||
logging:
|
||||
driver: "none"
|
||||
|
||||
redis:
|
||||
image: redis:3.2-alpine
|
||||
|
||||
test-ci:
|
||||
image: app:build
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
env_file:
|
||||
- .env
|
||||
command:
|
||||
"test"
|
|
@ -15,19 +15,6 @@ services:
|
|||
- .env
|
||||
command: "true"
|
||||
|
||||
test-ci:
|
||||
image: app:build
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
- db
|
||||
- presto
|
||||
- redis
|
||||
env_file:
|
||||
- .env
|
||||
command:
|
||||
"test"
|
||||
|
||||
web:
|
||||
extends:
|
||||
service: app
|
||||
|
|
Загрузка…
Ссылка в новой задаче