Skip to content
Snippets Groups Projects
Verified Commit 5a7561b5 authored by Martin Weise's avatar Martin Weise
Browse files

Added dependencies

parent 19436af9
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,8 @@ lint-helm:
- /^release-.*/
needs:
- build-metadata-service
dependencies:
- build-metadata-service
script:
- apk add sed helm curl
- helm lint ./helm/dbrepo
......@@ -169,6 +171,8 @@ test-metadata-service:
- /^release-.*/
needs:
- build-metadata-service
dependencies:
- build-metadata-service
script:
- "mvn -f ./dbrepo-metadata-service/pom.xml clean test $MAVEN_OPTS verify"
- "cat ./dbrepo-metadata-service/report/target/site/jacoco-aggregate/index.html | grep -o 'Total[^%]*%' | sed 's/<.*>/ /; s/Total/Jacoco Coverage Total:/'"
......@@ -190,6 +194,8 @@ test-data-service:
- /^release-.*/
needs:
- build-data-service
dependencies:
- build-data-service
script:
- "mvn -f ./dbrepo-data-service/pom.xml clean test verify $MAVEN_OPTS"
- "cat ./dbrepo-data-service/report/target/site/jacoco-aggregate/index.html | grep -o 'Total[^%]*%' | sed 's/<.*>/ /; s/Total/Jacoco Coverage Total:/'"
......@@ -213,6 +219,8 @@ test-analyse-service:
PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile"
needs:
- build-analyse-service
dependencies:
- build-analyse-service
script:
- "pip install pipenv"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
......@@ -238,6 +246,8 @@ test-search-service:
PIPENV_PIPFILE: "./dbrepo-search-service/Pipfile"
needs:
- build-search-service
dependencies:
- build-search-service
script:
- "pip install pipenv"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
......@@ -263,6 +273,8 @@ test-lib:
PIPENV_PIPFILE: "./lib/python/Pipfile"
needs:
- build-lib
dependencies:
- build-lib
script:
- "pip install pipenv"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment