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

Test only on merge

parent 0954d059
Branches
Tags
2 merge requests!387Wrong model,!384Wrong model
...@@ -234,6 +234,8 @@ build-helm: ...@@ -234,6 +234,8 @@ build-helm:
test-metadata-service: test-metadata-service:
image: maven:3-openjdk-${JAVA_VERSION} image: maven:3-openjdk-${JAVA_VERSION}
stage: test stage: test
only:
- merge_requests
needs: needs:
- build-metadata-service - build-metadata-service
dependencies: dependencies:
...@@ -254,6 +256,8 @@ test-metadata-service: ...@@ -254,6 +256,8 @@ test-metadata-service:
test-data-service: test-data-service:
image: maven:3-openjdk-${JAVA_VERSION} image: maven:3-openjdk-${JAVA_VERSION}
stage: test stage: test
only:
- merge_requests
needs: needs:
- build-data-service - build-data-service
dependencies: dependencies:
...@@ -275,6 +279,8 @@ test-data-service: ...@@ -275,6 +279,8 @@ test-data-service:
test-analyse-service: test-analyse-service:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: test stage: test
only:
- merge_requests
variables: variables:
PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile" PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile"
needs: needs:
...@@ -299,6 +305,8 @@ test-analyse-service: ...@@ -299,6 +305,8 @@ test-analyse-service:
test-auth-service-init: test-auth-service-init:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: test stage: test
only:
- merge_requests
variables: variables:
PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile" PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile"
before_script: before_script:
...@@ -321,6 +329,8 @@ test-auth-service-init: ...@@ -321,6 +329,8 @@ test-auth-service-init:
test-search-service: test-search-service:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: test stage: test
only:
- merge_requests
variables: variables:
PIPENV_PIPFILE: "./dbrepo-search-service/Pipfile" PIPENV_PIPFILE: "./dbrepo-search-service/Pipfile"
needs: needs:
...@@ -352,6 +362,8 @@ test-search-service: ...@@ -352,6 +362,8 @@ test-search-service:
test-search-service-init: test-search-service-init:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: test stage: test
only:
- merge_requests
variables: variables:
PIPENV_PIPFILE: "./dbrepo-search-service/init/Pipfile" PIPENV_PIPFILE: "./dbrepo-search-service/init/Pipfile"
needs: needs:
...@@ -376,6 +388,8 @@ test-search-service-init: ...@@ -376,6 +388,8 @@ test-search-service-init:
test-lib: test-lib:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
stage: test stage: test
only:
- merge_requests
variables: variables:
PIPENV_PIPFILE: "./lib/python/Pipfile" PIPENV_PIPFILE: "./lib/python/Pipfile"
needs: needs:
...@@ -398,8 +412,10 @@ test-lib: ...@@ -398,8 +412,10 @@ test-lib:
coverage: '/TOTAL.*?([0-9]{1,3})%/' coverage: '/TOTAL.*?([0-9]{1,3})%/'
test-ui: test-ui:
stage: test
image: docker.io/docker:${DOCKER_VERSION}-dind image: docker.io/docker:${DOCKER_VERSION}-dind
stage: test
only:
- merge_requests
needs: needs:
- build-ui - build-ui
dependencies: dependencies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment