Skip to content
Snippets Groups Projects

Gitlab CI for Theodolite-Kotlin-Quarkus

Merged Lorenz Boguhn requested to merge stu203404/theodolite:feature/gitlabci into theodolite-kotlin
All threads resolved!
1 file
+ 16
17
Compare changes
  • Side-by-side
  • Inline
+ 16
17
@@ -4,6 +4,17 @@ stages:
- check
- deploy
.dind:
tags:
- exec-dind
# see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
# for image usage and settings for building with TLS and docker in docker
image: docker:19.03.1
services:
- docker:19.03.1-dind
variables:
DOCKER_TLS_CERTDIR: "/certs"
# Theodolite Benchmarks
@@ -82,21 +93,14 @@ spotbugs-benchmarks:
.deploy-benchmarks:
stage: deploy
extends: .benchmarks
extends:
- .benchmarks
- .dind
needs:
- build-benchmarks
- checkstyle-benchmarks
- pmd-benchmarks
- spotbugs-benchmarks
tags:
- exec-dind
# see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
# for image usage and settings for building with TLS and docker in docker
image: docker:19.03.1
services:
- docker:19.03.1-dind
variables:
DOCKER_TLS_CERTDIR: "/certs"
script:
- DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
- docker build --pull -t $IMAGE_NAME ./$JAVA_PROJECT_NAME
@@ -172,13 +176,8 @@ deploy-uc4-load-generator:
deploy-theodolite:
stage: deploy
tags:
- exec-dind
image: docker:19.03.1
services:
- docker:19.03.1-dind
variables:
DOCKER_TLS_CERTDIR: "/certs"
extends:
- .dind
script:
- DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
- docker build --pull -t theodolite ./execution
Loading