Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
5c0a16ef
Commit
5c0a16ef
authored
3 years ago
by
Sören Henning
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into container-build-without-docker
parents
c4d7df2a
8bb6757c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!207
Container build without Docker
Pipeline
#5512
passed
3 years ago
Stage: build
Stage: test
Stage: check
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+24
-18
24 additions, 18 deletions
.gitlab-ci.yml
with
24 additions
and
18 deletions
.gitlab-ci.yml
+
24
−
18
View file @
5c0a16ef
include
:
-
template
:
'
Workflows/Branch-Pipelines.gitlab-ci.yml'
stages
:
stages
:
-
build
-
build
-
test
-
test
...
@@ -19,6 +22,7 @@ default:
...
@@ -19,6 +22,7 @@ default:
variables
:
variables
:
DOCKER_TLS_CERTDIR
:
"
/certs"
DOCKER_TLS_CERTDIR
:
"
/certs"
# Theodolite Helm Chart
# Theodolite Helm Chart
lint-helm
:
lint-helm
:
...
@@ -43,6 +47,11 @@ lint-helm:
...
@@ -43,6 +47,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
...
@@ -125,8 +134,6 @@ spotbugs-benchmarks:
...
@@ -125,8 +134,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/**/*
...
@@ -134,7 +141,6 @@ spotbugs-benchmarks:
...
@@ -134,7 +141,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
...
@@ -299,12 +305,9 @@ deploy-theodolite:
...
@@ -299,12 +305,9 @@ 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
...
@@ -343,27 +346,39 @@ deploy-theodolite-kaniko:
...
@@ -343,27 +346,39 @@ deploy-theodolite-kaniko:
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
:
[]
needs
:
[]
image
:
python:3.7-slim
image
:
python:3.7-slim
script
:
before_
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
:
[]
needs
:
[]
image
:
python:3.7-slim
image
:
python:3.7-slim
script
:
before_
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
...
@@ -380,12 +395,9 @@ deploy-slo-checker-lag-trend:
...
@@ -380,12 +395,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
...
@@ -405,12 +417,9 @@ deploy-slo-checker-dropped-records-kstreams:
...
@@ -405,12 +417,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
...
@@ -432,12 +441,9 @@ deploy-random-scheduler:
...
@@ -432,12 +441,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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment