From 2460eaffcfe47bb1802ef6910122137deca5a039 Mon Sep 17 00:00:00 2001 From: Marius Kriegerowski <marius@gfz-potsdam.de> Date: Wed, 18 May 2022 15:23:25 +0200 Subject: [PATCH] add damage service --- .gitlab-ci.yml | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fe036e..aad6f29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,4 @@ --- - # You can define the services that you depend on and execute e.g. tests against that service: testing: image: python:3.9 @@ -7,34 +6,12 @@ testing: services: - name: git.gfz-potsdam.de:5000/dynamicexposure/coding/betty-integration/time-api:main alias: time-api - - # TODO: these repos will need to have dockerfiles and images pushed to their registry - # https://3dtools.geog.uni-heidelberg.de/loki/micromapping_giscience - # https://3dtools.geog.uni-heidelberg.de/loki/damage_clf_3dgeo - # (more to follow) - - environment: - BETTY_TIME_API_URL=http://time-api:8000 + - name: git.gfz-potsdam.de:5000/loki/damage_clf_3dgeo:main + alias: damage-clf-3dgeo + # environment: + # BETTY_TIME_API_URL=http://time-api:8000 before_script: - pip install poetry - poetry install script: - - pytest tests/test_time_api.py - -# next step would be to send triggers: - #trigger: git.gfz-potsdam:..... integration.git - # branch: main - -## Alternatively, this deploys to an environment using the docker-compose file: -#deploy_staging: -# stage: deploy -# tags: -# - dind -# before_script: -# - apk add docker-compose -# script: -# - docker-compose pull -# - docker-compose up -# environment: -# name: staging -# url: https://staging.example.com + - poetry run pytest tests/test_time_api.py -- GitLab