diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b3c332326e32e71f85da477c3c2b2752f903a7d..0624a4f23afaeebc8240513a1e9aa2ff4674515d 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: