From bcd620b6c8c0ee7fa37b7b3d9e54a6797c756bda Mon Sep 17 00:00:00 2001 From: Gianni GIUDICE Date: Tue, 12 Jan 2021 16:13:33 +0100 Subject: [PATCH] :green_heart: Correction dockerize --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dc467e7..2a3627a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,17 +19,17 @@ jobs: - "venv" flask_tests: docker: - - image: circleci/postgres:9.6.9-alpine - environment: - POSTGRES_USER: myUsr - POSTGRES_PASSWORD: somePwd - POSTGRES_BD: psdb - image: circleci/python:3.9-buster-node-browsers environment: DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb CONDUIT_SECRET: 'something-really-secret' FLASK_APP: autoapp.py FLASK_DEBUG: 1 + - image: circleci/postgres:9.6.9-alpine + environment: + POSTGRES_USER: myUsr + POSTGRES_PASSWORD: somePwd + POSTGRES_BD: psdb steps: - checkout - restore_cache: @@ -39,6 +39,7 @@ jobs: command: dockerize -wait tcp://localhost:5432 -timeout 1m workflows: + version: 2 tp: jobs: - build