use postgres service for CI
This commit is contained in:
parent
b7ac4f1dd2
commit
8bc8765035
|
@ -8,7 +8,15 @@ stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- docs
|
- docs
|
||||||
image: python:3.5
|
image: python:3.6
|
||||||
|
services:
|
||||||
|
- postgres:latest
|
||||||
|
|
||||||
|
variables:
|
||||||
|
POSTGRES_DB: passbook
|
||||||
|
POSTGRES_USER: passbook
|
||||||
|
POSTGRES_PASSWORD: 'EK-5jnKfjrGRm<77'
|
||||||
|
SUPERVISR_ENV: ci
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- /allauth/.gitlab-ci.yml
|
- /allauth/.gitlab-ci.yml
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
# This is the default configuration file
|
# This is the default configuration file
|
||||||
databases:
|
databases:
|
||||||
default:
|
default:
|
||||||
engine: 'django.db.backends.sqlite3'
|
engine: 'django.db.backends.postgresql'
|
||||||
name: 'db.sqlite3'
|
name: passbook
|
||||||
|
user: passbook
|
||||||
|
password: 'EK-5jnKfjrGRm<77'
|
||||||
|
host: postgres
|
||||||
log:
|
log:
|
||||||
level:
|
level:
|
||||||
console: DEBUG
|
console: DEBUG
|
||||||
|
|
Reference in New Issue