From 2afc76df752f7cf87c6438042fae8a6f6a7c4829 Mon Sep 17 00:00:00 2001 From: Julien Dudek Date: Mon, 2 Nov 2020 19:31:35 +0100 Subject: [PATCH] variables declarees --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f02182..558d83e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,10 @@ jobs: docker: - image: "circleci/node:12" - image: "circleci/postgres:9.6.2-alpine" + environment: environment: + PG_USER: julien_dudek + PG_DB: testdb + PG_PASSWORD: unpass steps: - checkout - restore_cache: @@ -60,7 +64,7 @@ jobs: - run: command: yarn test:e2e environment: - DATABASE_URL: postgres://julien_dudek:pass@localhost:5432/testdb + DATABASE_URL: postgres://$PG_USER:$PG_PASSWORD@localhost:5432/$PG_DB JWT_SECRET: m1iii API_PORT: 3000 API_HOST: localhost