Browse Source

👷 configure db

dependabot/pip/requirements/sqlalchemy-1.3.0
lamya-rey 5 years ago
parent
commit
15f206e37c
  1. 16
      .circleci/config.yml

16
.circleci/config.yml

@ -28,9 +28,9 @@ jobs:
- image: circleci/python:latest
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_USER: myUser
POSTGRES_DB: postgres
POSTGRES_PASSWORD: root
POSTGRES_PASSWORD: somePwd
working_directory: ~/repo
steps:
- checkout
@ -45,11 +45,11 @@ jobs:
environment:
CONDUIT_SECRET: 'something-really-secret'
FLASK_APP: /home/circleci/repo/autoapp.py
DATABASE_URL: postgresql://postgres:root@localhost:5432/postgres
DATABASE_URL: postgresql://myUser:somePwd@localhost:5432/postgres
FLASK_DEBUG: 1
POSTGRES_USER: postgres
POSTGRES_USER: myUser
POSTGRES_DB: postgres
POSTGRES_PASSWORD: root
POSTGRES_PASSWORD: somePwd
POSTGRES_PORT: 5432
- run:
name: db test
@ -60,11 +60,11 @@ jobs:
environment:
CONDUIT_SECRET: 'something-really-secret'
FLASK_APP: /home/circleci/repo/autoapp.py
DATABASE_URL: postgresql://postgres:root@localhost:5432/postgres
DATABASE_URL: postgresql://myUser:somePwd@localhost:5432/postgres
FLASK_DEBUG: 1
POSTGRES_USER: postgres
POSTGRES_USER: myUser
POSTGRES_DB: postgres
POSTGRES_PASSWORD: root
POSTGRES_PASSWORD: somePwd
POSTGRES_PORT: 5432
deploy-heroku:

Loading…
Cancel
Save