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
63d215bb
Commit
63d215bb
authored
4 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Integrate quarkus pipeline in root pipeline
parent
548f952c
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
,
!84
Gitlab CI for Theodolite-Kotlin-Quarkus
,
!83
WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Pipeline
#2127
failed
4 years ago
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+59
-14
59 additions, 14 deletions
.gitlab-ci.yml
theodolite-quarkus/.gitlab-ci.yml
+0
-44
0 additions, 44 deletions
theodolite-quarkus/.gitlab-ci.yml
with
59 additions
and
58 deletions
.gitlab-ci.yml
+
59
−
14
View file @
63d215bb
...
...
@@ -175,13 +175,70 @@ deploy-uc4-load-generator:
# Theodolite Framework
.theodolite
:
image
:
openjdk:11-jdk
tags
:
-
exec-docker
variables
:
GRADLE_OPTS
:
"
-Dorg.gradle.daemon=false"
cache
:
paths
:
-
.gradle/wrapper
-
.gradle/caches
before_script
:
-
cd theodolite-quarkus
-
export GRADLE_USER_HOME=`pwd`/.gradle
build-theodolite
:
stage
:
build
extends
:
.theodolite
needs
:
-
build-benchmarks
-
test-benchmarks
#script: ./gradlew --build-cache assemble -Dquarkus.package.type=native
script
:
./gradlew --build-cache assemble
artifacts
:
paths
:
-
"
theodolite-quarkus/build/libs/*.jar"
expire_in
:
1 day
test-theodolite
:
stage
:
test
extends
:
.theodolite
needs
:
-
build-benchmarks
script
:
./gradlew test --stacktrace
# Disabled for now
.ktlint-theodolite
:
stage
:
check
extends
:
.theodolite
needs
:
-
build-benchmarks
-
test-benchmarks
script
:
./gradlew ktlintCheck --continue
# Disabled for now
.detekt-theodolite
:
stage
:
check
extends
:
.theodolite
needs
:
-
build-benchmarks
-
test-benchmarks
script
:
./gradlew detekt --continue
deploy-theodolite
:
stage
:
deploy
extends
:
-
.theodolite
-
.dind
needs
:
-
build-theodolite
-
test-theodolite
script
:
-
DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
-
docker build --pull -t theodolite ./execution
#- docker build -f src/main/docker/Dockerfile.native -t theodolite .
-
docker build -f src/main/docker/Dockerfile.jvm -t theodolite .
-
"
[
!
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite
$CR_HOST/$CR_ORG/theodolite:${DOCKER_TAG_NAME}latest"
-
"
[
!
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite
$CR_HOST/$CR_ORG/theodolite:$DOCKER_TAG_NAME$CI_COMMIT_SHORT_SHA"
-
"
[
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite
$CR_HOST/$CR_ORG/theodolite:$CI_COMMIT_TAG"
...
...
@@ -192,21 +249,9 @@ deploy-theodolite:
-
if
:
"
$CR_HOST
&&
$CR_ORG
&&
$CR_USER
&&
$CR_PW
&&
$CI_COMMIT_TAG"
when
:
always
-
changes
:
-
execution
/**/*
-
theodolite-quarkus
/**/*
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
framework
:
stage
:
triggers
trigger
:
include
:
theodolite-quarkus/.gitlab-ci.yml
strategy
:
depend
rules
:
-
if
:
"
$CI_COMMIT_TAG"
-
changes
:
-
theodolite-quarkus/*
-
when
:
manual
allow_failure
:
true
This diff is collapsed.
Click to expand it.
theodolite-quarkus/.gitlab-ci.yml
deleted
100644 → 0
+
0
−
44
View file @
548f952c
image
:
openjdk:11-jdk
stages
:
-
build
-
test
-
check
#- package
before_script
:
-
cd theodolite-quarkus
-
export GRADLE_USER_HOME=`pwd`/.gradle
cache
:
paths
:
-
.gradle/wrapper
-
.gradle/caches
compile
:
stage
:
build
tags
:
-
exec-docker
script
:
-
./gradlew build
test
:
stage
:
test
tags
:
-
exec-docker
script
:
-
./gradlew test --stacktrace
.ktlint
:
stage
:
check
tags
:
-
exec-docker
script
:
-
./gradlew ktlintCheck --continue
.detekt
:
stage
:
check
tags
:
-
exec-docker
script
:
-
./gradlew detekt --continue
\ No newline at end of file
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