|
|
@ -25,6 +25,11 @@ jobs: |
|
|
- ./node_module |
|
|
- ./node_module |
|
|
deploy_bdd: |
|
|
deploy_bdd: |
|
|
docker: |
|
|
docker: |
|
|
|
|
|
- image: 'circleci/postgres:9.6.2-alpine' |
|
|
|
|
|
environment: |
|
|
|
|
|
POSTGRE_USER: psqluser |
|
|
|
|
|
POSTGRE_PASSWORD: psqlpassword |
|
|
|
|
|
POSTGRE_DB: psdb |
|
|
- image: circleci/node:14 # the primary container, where your job's commands are run |
|
|
- image: circleci/node:14 # the primary container, where your job's commands are run |
|
|
environment: |
|
|
environment: |
|
|
DATABASEURL: postgres://psqluser:psqlpassword@localhost:5432/psdb |
|
|
DATABASEURL: postgres://psqluser:psqlpassword@localhost:5432/psdb |
|
|
@ -32,12 +37,6 @@ jobs: |
|
|
API_PORT: 3000 |
|
|
API_PORT: 3000 |
|
|
API_HOST: localhost |
|
|
API_HOST: localhost |
|
|
API_PROTOCOL: http |
|
|
API_PROTOCOL: http |
|
|
docker: |
|
|
|
|
|
- image: 'circleci/postgres:9.6.2-alpine' |
|
|
|
|
|
environment: |
|
|
|
|
|
POSTGRE_USER: psqluser |
|
|
|
|
|
POSTGRE_PASSWORD: psqlpassword |
|
|
|
|
|
POSTGRE_DB: psdb |
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
|