From edd1151d5055c6c23530c3a01b6f16d11000f16c Mon Sep 17 00:00:00 2001 From: spokequenouille Date: Thu, 5 Nov 2020 21:45:32 +0100 Subject: [PATCH] workflow --- .circleci/config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b85b2a4..1686f23 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,6 +25,11 @@ jobs: - ./node_module deploy_bdd: 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 environment: DATABASEURL: postgres://psqluser:psqlpassword@localhost:5432/psdb @@ -32,12 +37,6 @@ jobs: API_PORT: 3000 API_HOST: localhost API_PROTOCOL: http - docker: - - image: 'circleci/postgres:9.6.2-alpine' - environment: - POSTGRE_USER: psqluser - POSTGRE_PASSWORD: psqlpassword - POSTGRE_DB: psdb steps: - checkout - restore_cache: