diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 883f342eb..aeb186533 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,15 @@ stages: - test - build - 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: - /allauth/.gitlab-ci.yml diff --git a/passbook/lib/default.yml b/passbook/lib/default.yml index dc4257471..cd16c781c 100644 --- a/passbook/lib/default.yml +++ b/passbook/lib/default.yml @@ -1,8 +1,11 @@ # This is the default configuration file databases: default: - engine: 'django.db.backends.sqlite3' - name: 'db.sqlite3' + engine: 'django.db.backends.postgresql' + name: passbook + user: passbook + password: 'EK-5jnKfjrGRm<77' + host: postgres log: level: console: DEBUG