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
f2741784
Commit
f2741784
authored
3 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Add basic CI job for smoketests
parent
a1b02f0b
No related branches found
No related tags found
1 merge request
!232
Add smoke tests for benchmark
Pipeline
#6244
failed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-1
27 additions, 1 deletion
.gitlab-ci.yml
with
27 additions
and
1 deletion
.gitlab-ci.yml
+
27
−
1
View file @
f2741784
...
...
@@ -10,6 +10,7 @@ stages:
-
test
-
check
-
deploy
-
smoketest
default
:
tags
:
...
...
@@ -39,6 +40,10 @@ default:
-
"
[
$CI_COMMIT_TAG
]
&&
KANIKO_D=
\"
$KANIKO_D
-d
$CR_HOST/$CR_ORG/$IMAGE_NAME:$CI_COMMIT_TAG
\"
"
-
"
[
$DOCKERFILE
]
&&
KANIKO_DOCKERFILE=
\"
--dockerfile
$DOCKERFILE
\"
"
-
/kaniko/executor --context `pwd`/$CONTEXT $KANIKO_DOCKERFILE $KANIKO_D
-
echo "PUBLISHED_IMAGE_TAG=${CI_COMMIT_TAG-$CI_COMMIT_SHORT_SHA}" >> build.env
artifacts
:
reports
:
dotenv
:
build.env
# Theodolite Docs
...
...
@@ -350,7 +355,28 @@ deploy-uc4-load-generator:
IMAGE_NAME
:
"
theodolite-uc4-workload-generator"
JAVA_PROJECT_NAME
:
"
uc4-load-generator"
JAVA_PROJECT_DEPS
:
"
load-generator-commons"
.smoketest-benchmarks
:
stage
:
smoketest
extends
:
-
.dind
image
:
docker/compose:1.29.2
variables
:
CONTEXT
:
"
/$JAVA_PROJECT_NAME"
before_script
:
-
cd theodolite-benchmarks/docker-test
script
:
-
export THEODOLITE_TAG=$PUBLISHED_IMAGE_TAG
-
./smoketest ./$PROJECT_NAME
smoketest-uc1-kstreams
:
extends
:
.smoketest-benchmarks
needs
:
-
deploy-uc1-kstreams
-
deploy-uc1-load-generator
variables
:
PROJECT_NAME
:
"
uc1-kstreams"
# Theodolite Framework
...
...
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