From 4dfc538f6120280239dee2d203eaa5242986309c Mon Sep 17 00:00:00 2001
From: Mussab Abdalla <mussab.abdalla@eox.at>
Date: Mon, 15 Jun 2020 15:22:59 +0200
Subject: [PATCH] install bash

---
 .gitlab-ci.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b3c3323..0624a4f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,6 +78,8 @@ test:
   services:
     - docker:dind
   before_script:
+    - apk update && apk add bash postgresql-dev gcc python3-dev musl-dev py-pip gdal
+    - pip3 install -r requirements.txt
     - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
     - chmod +x env_setup.sh wait_for_container.sh registrar_test.sh
     - ./env_setup.sh
@@ -98,13 +100,9 @@ test:
     - docker network create -d overlay emg-extnet
     - docker stack deploy -c docker-compose.emg.yml -c docker-compose.emg.dev.yml emg-pvs
   script:
-
-    - apk update && apk add postgresql-dev gcc python3-dev musl-dev py-pip gdal
-    - pip3 install -r requirements.txt
+  
     - ./wait_for_container.sh
     - ./registrar_test.sh
-    
-
 
   after_script:
 
-- 
GitLab