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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
8bb6757c
Commit
8bb6757c
authored
Dec 7, 2021
by
Sören Henning
Browse files
Options
Downloads
Plain Diff
Merge branch 'restrict-build-of-benchmarks' into 'master'
Don't execute unnecessary build jobs in CI pipeline Closes
#218
See merge request
!199
parents
605c09f4
aeb59ca5
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!199
Don't execute unnecessary build jobs in CI pipeline
Pipeline
#5510
passed
Dec 7, 2021
Stage: build
Stage: test
Stage: check
Stage: deploy
Changes
1
Pipelines
1
Show 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 @
8bb6757c
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,38 +305,47 @@ deploy-theodolite:
...
@@ -299,38 +305,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
:
[]
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
...
@@ -347,12 +362,9 @@ deploy-slo-checker-lag-trend:
...
@@ -347,12 +362,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
...
@@ -372,12 +384,9 @@ deploy-slo-checker-dropped-records-kstreams:
...
@@ -372,12 +384,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
...
@@ -399,12 +408,9 @@ deploy-random-scheduler:
...
@@ -399,12 +408,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