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

Merge branch 'master' into 0.5-docs

parents cfff6f07 8bb6757c
Branches master
No related tags found
1 merge request!164Add Theodolite docs
Pipeline #5514 passed
include:
- template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'
stages: stages:
- build - build
- test - test
- check - check
- deploy - deploy
default:
tags:
- exec-docker
.dind: .dind:
tags: tags:
- exec-dind - exec-dind
...@@ -20,8 +27,6 @@ stages: ...@@ -20,8 +27,6 @@ stages:
.docs: .docs:
image: alpine/bundle:3.0.3 image: alpine/bundle:3.0.3
tags:
- exec-docker
cache: cache:
paths: paths:
- docs/vendor - docs/vendor
...@@ -50,11 +55,10 @@ test-docs-links: ...@@ -50,11 +55,10 @@ test-docs-links:
lint-helm: lint-helm:
stage: check stage: check
needs: []
image: image:
name: alpine/helm:3.5.2 name: alpine/helm:3.5.2
entrypoint: [""] entrypoint: [""]
tags:
- exec-docker
script: helm lint helm/ script: helm lint helm/
...@@ -62,8 +66,6 @@ lint-helm: ...@@ -62,8 +66,6 @@ lint-helm:
.benchmarks: .benchmarks:
image: openjdk:11-jdk image: openjdk:11-jdk
tags:
- exec-docker
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false" GRADLE_OPTS: "-Dorg.gradle.daemon=false"
cache: cache:
...@@ -73,6 +75,11 @@ lint-helm: ...@@ -73,6 +75,11 @@ lint-helm:
before_script: before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle - export GRADLE_USER_HOME=`pwd`/.gradle
- cd theodolite-benchmarks - cd theodolite-benchmarks
rules:
- changes:
- theodolite-benchmarks/**/*
- when: manual
allow_failure: true
build-benchmarks: build-benchmarks:
stage: build stage: build
...@@ -155,8 +162,6 @@ spotbugs-benchmarks: ...@@ -155,8 +162,6 @@ spotbugs-benchmarks:
- docker push $CR_HOST/$CR_ORG/$IMAGE_NAME - docker push $CR_HOST/$CR_ORG/$IMAGE_NAME
- docker logout - docker logout
rules: rules:
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME && $CI_COMMIT_TAG"
when: always
- changes: - changes:
- theodolite-benchmarks/* - theodolite-benchmarks/*
- theodolite-benchmarks/$JAVA_PROJECT_NAME/**/* - theodolite-benchmarks/$JAVA_PROJECT_NAME/**/*
...@@ -164,7 +169,6 @@ spotbugs-benchmarks: ...@@ -164,7 +169,6 @@ spotbugs-benchmarks:
- theodolite-benchmarks/flink-commons/**/* - theodolite-benchmarks/flink-commons/**/*
- theodolite-benchmarks/load-generator-commons/**/* - theodolite-benchmarks/load-generator-commons/**/*
if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME" if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME"
when: always
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME" - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $IMAGE_NAME && $JAVA_PROJECT_NAME"
when: manual when: manual
allow_failure: true allow_failure: true
...@@ -248,8 +252,6 @@ deploy-uc4-load-generator: ...@@ -248,8 +252,6 @@ deploy-uc4-load-generator:
image: image:
name: ghcr.io/graalvm/native-image:java11-21.1.0 name: ghcr.io/graalvm/native-image:java11-21.1.0
entrypoint: [""] entrypoint: [""]
tags:
- exec-docker
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false" GRADLE_OPTS: "-Dorg.gradle.daemon=false"
cache: cache:
...@@ -331,40 +333,47 @@ deploy-theodolite: ...@@ -331,40 +333,47 @@ deploy-theodolite:
- docker push $CR_HOST/$CR_ORG/theodolite - docker push $CR_HOST/$CR_ORG/theodolite
- docker logout - docker logout
rules: rules:
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $CI_COMMIT_TAG"
when: always
- changes: - changes:
- theodolite/**/* - theodolite/**/*
if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: always
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: manual when: manual
allow_failure: true allow_failure: true
# Theodolite SLO Checker: Lag Trend # Theodolite SLO Checker
test-slo-checker-lag-trend: test-slo-checker-lag-trend:
stage: test stage: test
needs: []
image: python:3.7-slim image: python:3.7-slim
tags: before_script:
- exec-docker
script:
- cd slo-checker/record-lag - cd slo-checker/record-lag
script:
- pip install -r requirements.txt - pip install -r requirements.txt
- cd app - cd app
- python -m unittest - python -m unittest
rules:
- changes:
- slo-checker/record-lag/**/*
- when: manual
allow_failure: true
test-slo-checker-dropped-records-kstreams: test-slo-checker-dropped-records-kstreams:
stage: test stage: test
needs: []
image: python:3.7-slim image: python:3.7-slim
tags: before_script:
- exec-docker
script:
- cd slo-checker/dropped-records - cd slo-checker/dropped-records
script:
- pip install -r requirements.txt - pip install -r requirements.txt
- cd app - cd app
- python -m unittest - python -m unittest
rules:
- changes:
- slo-checker/dropped-records/**/*
- when: manual
allow_failure: true
deploy-slo-checker-lag-trend: deploy-slo-checker-lag-trend:
stage: deploy stage: deploy
...@@ -381,12 +390,9 @@ deploy-slo-checker-lag-trend: ...@@ -381,12 +390,9 @@ deploy-slo-checker-lag-trend:
- docker push $CR_HOST/$CR_ORG/theodolite-slo-checker-lag-trend - docker push $CR_HOST/$CR_ORG/theodolite-slo-checker-lag-trend
- docker logout - docker logout
rules: rules:
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $CI_COMMIT_TAG"
when: always
- changes: - changes:
- slo-checker/record-lag/**/* - slo-checker/record-lag/**/*
if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: always
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: manual when: manual
allow_failure: true allow_failure: true
...@@ -406,12 +412,9 @@ deploy-slo-checker-dropped-records-kstreams: ...@@ -406,12 +412,9 @@ deploy-slo-checker-dropped-records-kstreams:
- docker push $CR_HOST/$CR_ORG/theodolite-slo-checker-dropped-records-kstreams - docker push $CR_HOST/$CR_ORG/theodolite-slo-checker-dropped-records-kstreams
- docker logout - docker logout
rules: rules:
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $CI_COMMIT_TAG"
when: always
- changes: - changes:
- slo-checker/dropped-records/**/* - slo-checker/dropped-records/**/*
if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: always
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: manual when: manual
allow_failure: true allow_failure: true
...@@ -433,12 +436,9 @@ deploy-random-scheduler: ...@@ -433,12 +436,9 @@ deploy-random-scheduler:
- docker push $CR_HOST/$CR_ORG/theodolite-random-scheduler - docker push $CR_HOST/$CR_ORG/theodolite-random-scheduler
- docker logout - docker logout
rules: rules:
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW && $CI_COMMIT_TAG"
when: always
- changes: - changes:
- execution/infrastructure/random-scheduler/**/* - execution/infrastructure/random-scheduler/**/*
if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: always
- if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW" - if: "$CR_HOST && $CR_ORG && $CR_USER && $CR_PW"
when: manual when: manual
allow_failure: true allow_failure: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment