Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Deployments
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Global Dynamic Exposure
Betty
betty-integration
Deployments
Merge requests
!2
Draft: add damage service
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: add damage service
feature/testing-damage
into
main
Overview
0
Commits
1
Pipelines
10
Changes
1
Open
Marius Kriegerowski
requested to merge
feature/testing-damage
into
main
2 years ago
Overview
0
Commits
1
Pipelines
10
Changes
1
Expand
0
0
Merge request reports
Compare
main
version 5
70a51304
2 years ago
version 4
85edf7a3
2 years ago
version 3
c0d7f2fa
2 years ago
version 2
673b9683
2 years ago
version 1
762ee289
2 years ago
main (HEAD)
and
latest version
latest version
2460eaff
1 commit,
2 years ago
version 5
70a51304
1 commit,
2 years ago
version 4
85edf7a3
1 commit,
2 years ago
version 3
c0d7f2fa
1 commit,
2 years ago
version 2
673b9683
1 commit,
2 years ago
version 1
762ee289
1 commit,
2 years ago
1 file
+
5
−
28
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
5
−
28
Options
---
# 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
Loading