EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 580e2c0b authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

update gitlab-ci

parent e1449141
No related branches found
No related tags found
No related merge requests found
......@@ -70,42 +70,4 @@ build:
- ./gitlab_test.sh
except:
- master
<<<<<<< HEAD
test:
image: docker:latest
services:
- docker:dind
before_script:
- apk update && apk add bash postgresql-dev gcc python3-dev musl-dev py-pip gdal
- 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
- mkdir data
- IMAGE="$CI_REGISTRY_IMAGE/pvs_core"
- docker pull "$IMAGE"
- docker tag "$IMAGE" "$IMAGE:latest"
- IMAGE="$CI_REGISTRY_IMAGE/pvs_cache"
- docker pull "$IMAGE"
- docker tag "$IMAGE" "$IMAGE:latest"
- IMAGE="$CI_REGISTRY_IMAGE/pvs_preprocessor"
- docker pull "$IMAGE"
- docker tag "$IMAGE" "$IMAGE:latest"
- IMAGE="$CI_REGISTRY_IMAGE/pvs_client"
- docker pull "$IMAGE"
- docker tag "$IMAGE" "$IMAGE:latest"
- docker swarm init
- docker network create -d overlay emg-extnet
- docker stack deploy -c docker-compose.emg.yml -c docker-compose.emg.dev.yml emg-pvs
script:
- ./wait_for_container.sh
- pip3 install -r requirements.txt
- bash ./registrar_test.sh product_list.csv
after_script:
=======
>>>>>>> master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment