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
9d812115
Commit
9d812115
authored
4 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Build native images
parent
1384573c
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
,
!94
Build native images in CI pipeline
,
!83
WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Pipeline
#2269
failed
4 years ago
Stage: build
Stage: test
Stage: check
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-5
6 additions, 5 deletions
.gitlab-ci.yml
with
6 additions
and
5 deletions
.gitlab-ci.yml
+
6
−
5
View file @
9d812115
...
@@ -176,7 +176,8 @@ deploy-uc4-load-generator:
...
@@ -176,7 +176,8 @@ deploy-uc4-load-generator:
# Theodolite Framework
# Theodolite Framework
.theodolite
:
.theodolite
:
image
:
openjdk:11-jdk
#image: openjdk:11-jdk
image
:
ghcr.io/graalvm/graalvm-ce:java11-21.0.0.2
tags
:
tags
:
-
exec-docker
-
exec-docker
variables
:
variables
:
...
@@ -192,8 +193,8 @@ deploy-uc4-load-generator:
...
@@ -192,8 +193,8 @@ deploy-uc4-load-generator:
build-theodolite
:
build-theodolite
:
stage
:
build
stage
:
build
extends
:
.theodolite
extends
:
.theodolite
#
script: ./gradlew --build-cache assemble -Dquarkus.package.type=native
script
:
./gradlew --build-cache assemble -Dquarkus.package.type=native
script
:
./gradlew --build-cache assemble
#
script: ./gradlew --build-cache assemble
artifacts
:
artifacts
:
paths
:
paths
:
-
"
theodolite-quarkus/build/lib/*"
-
"
theodolite-quarkus/build/lib/*"
...
@@ -236,8 +237,8 @@ deploy-theodolite:
...
@@ -236,8 +237,8 @@ deploy-theodolite:
-
test-theodolite
-
test-theodolite
script
:
script
:
-
DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
-
DOCKER_TAG_NAME=$(echo $CI_COMMIT_REF_SLUG- | sed 's/^master-$//')
#
- docker build -f src/main/docker/Dockerfile.native -t theodolite .
-
docker build -f src/main/docker/Dockerfile.native -t theodolite .
-
docker build -f src/main/docker/Dockerfile.jvm -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}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:$DOCKER_TAG_NAME$CI_COMMIT_SHORT_SHA"
-
"
[
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite
$CR_HOST/$CR_ORG/theodolite:$CI_COMMIT_TAG"
-
"
[
$CI_COMMIT_TAG
]
&&
docker
tag
theodolite
$CR_HOST/$CR_ORG/theodolite:$CI_COMMIT_TAG"
...
...
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