From a9b4947f1ea36aa373a8b2866315d85b49e7a70f Mon Sep 17 00:00:00 2001
From: Ilia Eriomenco <ilia.eriomenco@endava.com>
Date: Mon, 29 Mar 2021 14:26:44 +0300
Subject: [PATCH] ci: updated host in eLife pipeline script template

---
 .gitlab-ci.elife.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.elife.yml b/.gitlab-ci.elife.yml
index 33367b96f5..2a9d41a49f 100644
--- a/.gitlab-ci.elife.yml
+++ b/.gitlab-ci.elife.yml
@@ -85,7 +85,8 @@ lint:
     - cd ${HOME}
     - apt-get -y install postgresql-client
     # this is needed for pgboss initial setup
-    - psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
+    - docker ps
+    - psql -h localhost -U kotahidev -d kotahidev -c "create extension pgcrypto;"
     # use the example env for tests
     - cp .env.example .env
     # specify host here else it confuses the linked postgres image
-- 
GitLab