From 89ed3e96da1fa4822e4a9c65fec622cd7a64bffe Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Wed, 6 Jan 2021 21:19:44 +0100 Subject: [PATCH] :green_heart: trying dockerize -wait --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b11774..42de7ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ jobs: FLASK_DEBUG: 1 DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb - image: circleci/postgres:9.6.5-alpine - name: postgresql + name: postgres environment: POSTGRES_USER: myUsr POSTGRES_DB: psdb @@ -35,6 +35,9 @@ jobs: - checkout - restore_cache: key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} + - run: + name: 'Wait for Hasura' + command: dockerize -wait tcp://localhost:5432 -timeout 1m - run: name: running test command: |