From 569a46c438ce7a142a76dbc87ddb64cb23a89b4e Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Wed, 6 Jan 2021 22:16:57 +0100 Subject: [PATCH] :construction_worker: trying with circle envs --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c9fae77..b8a12be 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,14 +22,14 @@ jobs: - image: circleci/python:3.7.9-stretch-browsers environment: FLASK_APP: autoapp.py - CONDUIT_SECRET: 'something-really-secret' + CONDUIT_SECRET: $CONDUIT_SECRET FLASK_DEBUG: 1 - DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb + DATABASE_URL: postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB - image: circleci/postgres:9.5.19-alpine environment: - POSTGRES_USER: myUsr - POSTGRES_DB: psdb - POSTGRES_PASSWORD: somePwd + POSTGRES_USER: $POSTGRES_USER + POSTGRES_DB: $POSTGRES_DB + POSTGRES_PASSWORD: $POSTGRES_PASSWORD steps: - checkout - restore_cache: