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: