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
Merge requests
!117
Add build and publish step for Lag Trend SLO Checker in CI pipeline
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add build and publish step for Lag Trend SLO Checker in CI pipeline
194-build-lag-trend-slo-checker-in-ci-pipeline
into
theodolite-kotlin
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Sören Henning
requested to merge
194-build-lag-trend-slo-checker-in-ci-pipeline
into
theodolite-kotlin
4 years ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
Closes
#194 (closed)
Edited
4 years ago
by
Sören Henning
0
0
Merge request reports
Compare
theodolite-kotlin
version 1
b41496e2
4 years ago
theodolite-kotlin (base)
and
latest version
latest version
d61296c7
1 commit,
4 years ago
version 1
b41496e2
323 commits,
4 years ago
1 file
+
26
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
26
−
0
Options
@@ -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
:
Loading