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

Merge branch 'single-ci-pipeline'

parents d65f3e8e 3f9bc124
No related branches found
No related tags found
1 merge request!84Gitlab CI for Theodolite-Kotlin-Quarkus
Pipeline #2097 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment