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
d61296c7
Commit
d61296c7
authored
4 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Add build step for lag trend SLO checker
parent
b41496e2
No related branches found
No related tags found
4 merge requests
!159
Re-implementation of Theodolite with Kotlin/Quarkus
,
!157
Update Graal Image in CI pipeline
,
!117
Add build and publish step for Lag Trend SLO Checker in CI pipeline
,
!83
WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Pipeline
#2668
canceled
4 years ago
Stage: build
Stage: test
Stage: check
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-0
26 additions, 0 deletions
.gitlab-ci.yml
with
26 additions
and
0 deletions
.gitlab-ci.yml
+
26
−
0
View file @
d61296c7
...
...
@@ -303,6 +303,32 @@ deploy-theodolite:
allow_failure
:
true
# Theodolite SLO Checker: Lag Trend
deploy-slo-checker-lag-trend
:
stage
:
deploy
extends
:
-
.dind
script
:
-
DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
-
docker build --pull -t theodolite-slo-checker-lag-trend slope-evaluator
-
"
[
!
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite-slo-checker-lag-trend
$CR_HOST/$CR_ORG/theodolite-slo-checker-lag-trend:${DOCKER_TAG_NAME}latest"
-
"
[
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite-slo-checker-lag-trend
$CR_HOST/$CR_ORG/theodolite-slo-checker-lag-trend:$CI_COMMIT_TAG"
-
echo $CR_PW | docker login $CR_HOST -u $CR_USER --password-stdin
-
docker push $CR_HOST/$CR_ORG/theodolite-slo-checker-lag-trend
-
docker logout
rules
:
-
if
:
"
$CR_HOST
&&
$CR_ORG
&&
$CR_USER
&&
$CR_PW
&&
$CI_COMMIT_TAG"
when
:
always
-
changes
:
-
slope-evaluator/**/*
if
:
"
$CR_HOST
&&
$CR_ORG
&&
$CR_USER
&&
$CR_PW"
when
:
always
-
if
:
"
$CR_HOST
&&
$CR_ORG
&&
$CR_USER
&&
$CR_PW"
when
:
manual
allow_failure
:
true
# Theodolite Random Scheduler
deploy-random-scheduler
:
...
...
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