Skip to content
Snippets Groups Projects
Commit 9497c5a4 authored by Lorenz Boguhn's avatar Lorenz Boguhn Committed by Sören Henning
Browse files

Add theodolite CI deployment

parent f0118fda
No related branches found
No related tags found
1 merge request!58Auto build and deploy theodolite
...@@ -244,15 +244,11 @@ deploy-uc4-workload-generator: ...@@ -244,15 +244,11 @@ deploy-uc4-workload-generator:
allow_failure: true allow_failure: true
# hope this can be merged with .deploy soon, see #51
# New from here .deploy_theodolite:
.deploy_theo:
stage: deploy stage: deploy
tags: tags:
- exec-dind - 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 image: docker:19.03.1
services: services:
- docker:19.03.1-dind - docker:19.03.1-dind
...@@ -271,7 +267,6 @@ deploy-uc4-workload-generator: ...@@ -271,7 +267,6 @@ deploy-uc4-workload-generator:
- if: "$DOCKERHUB_ORG && $DOCKERHUB_ID && $DOCKERHUB_PW && $IMAGE_NAME && $PROJECT_PATH && $CI_COMMIT_TAG" - if: "$DOCKERHUB_ORG && $DOCKERHUB_ID && $DOCKERHUB_PW && $IMAGE_NAME && $PROJECT_PATH && $CI_COMMIT_TAG"
when: always when: always
- changes: - changes:
# - $JAVA_PROJECT_NAME/**/* # hope this can be simplified soon, see #51
- execution/**/* - execution/**/*
if: "$DOCKERHUB_ORG && $DOCKERHUB_ID && $DOCKERHUB_PW && $IMAGE_NAME && $PROJECT_PATH" if: "$DOCKERHUB_ORG && $DOCKERHUB_ID && $DOCKERHUB_PW && $IMAGE_NAME && $PROJECT_PATH"
when: always when: always
...@@ -293,5 +288,4 @@ deploy-theodolite: ...@@ -293,5 +288,4 @@ deploy-theodolite:
when: always when: always
- if: "$DOCKERHUB_ORG && $DOCKERHUB_ID && $DOCKERHUB_PW && $IMAGE_NAME && $PROJECT_PATH" - if: "$DOCKERHUB_ORG && $DOCKERHUB_ID && $DOCKERHUB_PW && $IMAGE_NAME && $PROJECT_PATH"
when: manual when: manual
allow_failure: true allow_failure: true
\ No newline at end of file
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