From 5a7561b5106f4bc6f5750678c5970cde59cd0d23 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Wed, 3 Jul 2024 06:20:45 +0200 Subject: [PATCH] Added dependencies --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23d5c10d54..fabc088547 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" -- GitLab