Skip to content
Snippets Groups Projects
Commit d639e917 authored by Sören Henning's avatar Sören Henning
Browse files

Add needs reference

parent 97a05352
No related branches found
No related tags found
2 merge requests!89Single CI/CD pipeline definitions,!84Gitlab CI for Theodolite-Kotlin-Quarkus
Pipeline #2079 canceled
This commit is part of merge request !84. Comments created here will be created in the context of that merge request.
...@@ -33,6 +33,8 @@ build-benchmarks: ...@@ -33,6 +33,8 @@ build-benchmarks:
test-benchmarks: test-benchmarks:
stage: test stage: test
extends: .benchmarks extends: .benchmarks
needs:
- build-benchmarks
script: ./gradlew test --continue script: ./gradlew test --continue
artifacts: artifacts:
reports: reports:
...@@ -42,6 +44,8 @@ test-benchmarks: ...@@ -42,6 +44,8 @@ test-benchmarks:
checkstyle-benchmarks: checkstyle-benchmarks:
stage: check stage: check
extends: .benchmarks extends: .benchmarks
needs:
- test-benchmarks
script: ./gradlew checkstyle --continue script: ./gradlew checkstyle --continue
artifacts: artifacts:
paths: paths:
...@@ -52,6 +56,8 @@ checkstyle-benchmarks: ...@@ -52,6 +56,8 @@ checkstyle-benchmarks:
pmd-benchmarks: pmd-benchmarks:
stage: check stage: check
extends: .benchmarks extends: .benchmarks
needs:
- test-benchmarks
script: ./gradlew pmd --continue script: ./gradlew pmd --continue
artifacts: artifacts:
paths: paths:
...@@ -62,6 +68,8 @@ pmd-benchmarks: ...@@ -62,6 +68,8 @@ pmd-benchmarks:
spotbugs-benchmarks: spotbugs-benchmarks:
stage: check stage: check
extends: .benchmarks extends: .benchmarks
needs:
- test-benchmarks
script: ./gradlew spotbugs --continue script: ./gradlew spotbugs --continue
artifacts: artifacts:
paths: paths:
...@@ -72,6 +80,10 @@ spotbugs-benchmarks: ...@@ -72,6 +80,10 @@ spotbugs-benchmarks:
.deploy-benchmarks: .deploy-benchmarks:
stage: deploy stage: deploy
extends: .benchmarks extends: .benchmarks
needs:
- checkstyle-benchmarks
- pmd-benchmarks
- spotbugs-benchmarks
tags: tags:
- exec-dind - exec-dind
# see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled # see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment