This commit is contained in:
Oliver Marks 2017-02-07 22:58:49 +00:00
parent 0292701721
commit 691bd1a9d9
1 changed files with 10 additions and 8 deletions

View File

@ -1,15 +1,17 @@
pipeline: pipeline:
backend: docker:
build: ./compose/django/Dockerfile-dev image: plugins/docker
image: maidstonehackspacewebsite_django repo: maidstonehackspace_tests
dockerfile: ./compose/django/Dockerfile-dev
#image: maidstonehackspacewebsite_django
environment: environment:
- POSTGRES_USER=mhackspace - POSTGRES_USER=mhackspace
- USE_DOCKER=yes - USE_DOCKER=yes
- DJANGO_SETTINGS_MODULE=config.settings.test - DJANGO_SETTINGS_MODULE=config.settings.test
commands: # commands:
- cp -n env.example .env # - cp -n env.example .env
- pip install -r /requirements/test.txt # - pip install -r /requirements/test.txt
- python manage.py test mhackspace --verbosity 2 # - python manage.py test mhackspace --verbosity 2
#volumes: #volumes:
@ -18,7 +20,7 @@ pipeline:
services: services:
postgres: postgres:
build: ./compose/postgres dockerfile: ./compose/postgres
# build: # build:
# context: . # context: .
# dockerfile: ./compose/django/Dockerfile # dockerfile: ./compose/django/Dockerfile