From ba7d890082007f4c8df147a3f5b61b67c82cd1ef Mon Sep 17 00:00:00 2001
From: Ilia Eriomenco <ilia.eriomenco@endava.com>
Date: Mon, 29 Mar 2021 10:31:05 +0300
Subject: [PATCH] ci: removed TEST_ITEM from eLife test:chrome

---
 .gitlab-ci.elife.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.elife.yml b/.gitlab-ci.elife.yml
index 2165ff02d1..6dcd6e9e17 100644
--- a/.gitlab-ci.elife.yml
+++ b/.gitlab-ci.elife.yml
@@ -79,7 +79,7 @@ lint:
     PGUSER: kotahidev
     PGPASSWORD: kotahidev
     # this is used to ignore self signed certs
-    START_SERVER_AND_TEST_INSECURE: 1
+    #START_SERVER_AND_TEST_INSECURE: 1
     INSTANCE_NAME: elife
   services:
     - postgres
@@ -94,11 +94,10 @@ lint:
     
 test-chrome:
   <<: *run_test_template
-  variables:
-    TEST_ITEM: elife
   script:
     - *run_script_template
-    - POSTGRES_HOST=postgres yarn test:all:chrome:$TEST_ITEM
+    # specify host here else it confuses the linked postgres image
+    - POSTGRES_HOST=postgres yarn test:all:chrome:elife
 
 # .test_template: &run_test_template
 #   image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
-- 
GitLab