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

Updated pipeline

parent e249da8c
No related branches found
No related tags found
2 merge requests!387Wrong model,!384Wrong model
This commit is part of merge request !384. Comments created here will be created in the context of that merge request.
......@@ -145,6 +145,8 @@ lint-open-api-version:
build-metadata-service:
image: maven:3-openjdk-${JAVA_VERSION}
stage: build
only:
- merge_requests
script:
- "mvn -f ./dbrepo-metadata-service/pom.xml clean install $MAVEN_OPTS -DskipTests"
# Compiled classes are needed for SonarQube in later stages
......@@ -172,6 +174,8 @@ build-analyse-service:
build-lib:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: build
only:
- merge_requests
variables:
PIPENV_PIPFILE: "./lib/python/Pipfile"
script:
......@@ -181,6 +185,8 @@ build-lib:
build-data-service:
image: maven:3-openjdk-${JAVA_VERSION}
stage: build
only:
- merge_requests
needs:
- build-metadata-service
dependencies:
......@@ -201,12 +207,16 @@ build-data-service:
build-ui:
image: oven/bun:${BUN_VERSION}-alpine
stage: build
only:
- merge_requests
script:
- "cd ./dbrepo-ui && bun install && bun run build"
build-search-service:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: build
only:
- merge_requests
before_script:
- "pip install pipenv"
script:
......@@ -215,6 +225,8 @@ build-search-service:
build-images:
image: docker.io/docker:${DOCKER_VERSION}-dind
stage: build
only:
- merge_requests
before_script:
- "apk add --no-cache make"
- echo "$CI_REGISTRY_PASSWORD" | docker login --username "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY_URL
......@@ -224,6 +236,8 @@ build-images:
build-helm:
image: docker.io/docker:${DOCKER_VERSION}-dind
stage: build
only:
- merge_requests
before_script:
- apk add --no-cache helm make
- echo "$CI_GPG_KEYRING" | base64 -d > ./secring.gpg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment