From e160e270ec660f163a2831894c57691aed1d299c Mon Sep 17 00:00:00 2001 From: Tarskan <55380090+Tarskan@users.noreply.github.com> Date: Wed, 13 Oct 2021 14:27:31 +0200 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a8877f..787f80f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -62,13 +62,6 @@ jobs: #ne fonctionne mais vu en cour c'est ce que l'on attandais DATABASETest : docker: - - image: cimg/node:14.15.0 # the primary container, where your job's commands are run - auth: - username: $AUTH_DOCKER - password: $PSW_DOCKER # context / project UI env-var reference - environment: - DATABASE_URL: postgres://root:test@localhost:5432/db - - image: circleci/postgres:9.6.5-alpine-ram auth: username: $AUTH_DOCKER @@ -77,6 +70,12 @@ jobs: POSTGRES_USER: root POSTGRES_DB: db POSTGRES_PASSWORD: test + - image: cimg/node:14.15.0 # the primary container, where your job's commands are run + auth: + username: $AUTH_DOCKER + password: $PSW_DOCKER # context / project UI env-var reference + environment: + DATABASE_URL: postgres://root:test@localhost:5432/db steps: - checkout - restore_cache: