Skip to content
Snippets Groups Projects
Commit 69766663 authored by Sören Henning's avatar Sören Henning
Browse files

Add temporary install and split builds

parent 9d812115
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!94Build native images in CI pipeline,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Pipeline #2271 failed
...@@ -190,23 +190,32 @@ deploy-uc4-load-generator: ...@@ -190,23 +190,32 @@ deploy-uc4-load-generator:
- cd theodolite-quarkus - cd theodolite-quarkus
- export GRADLE_USER_HOME=`pwd`/.gradle - export GRADLE_USER_HOME=`pwd`/.gradle
build-theodolite: build-theodolite-jvm:
stage: build stage: build
extends: .theodolite extends: .theodolite
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/*"
- "theodolite-quarkus/build/*-runner.jar" - "theodolite-quarkus/build/*-runner.jar"
# - "theodolite-quarkus/build/*-runner" # For native image expire_in: 1 day
build-theodolite-native:
stage: build
extends: .theodolite
before_script: gu install native-image # TODO move to image
script: ./gradlew --build-cache assemble -Dquarkus.package.type=native
artifacts:
paths:
- "theodolite-quarkus/build/*-runner"
expire_in: 1 day expire_in: 1 day
test-theodolite: test-theodolite:
stage: test stage: test
extends: .theodolite extends: .theodolite
needs: needs:
- build-theodolite - build-theodolite-jvm
- build-theodolite-native
script: ./gradlew test --stacktrace script: ./gradlew test --stacktrace
# Disabled for now # Disabled for now
...@@ -214,7 +223,8 @@ test-theodolite: ...@@ -214,7 +223,8 @@ test-theodolite:
stage: check stage: check
extends: .theodolite extends: .theodolite
needs: needs:
- build-theodolite - build-theodolite-jvm
- build-theodolite-native
- test-theodolite - test-theodolite
script: ./gradlew ktlintCheck --continue script: ./gradlew ktlintCheck --continue
...@@ -223,7 +233,8 @@ test-theodolite: ...@@ -223,7 +233,8 @@ test-theodolite:
stage: check stage: check
extends: .theodolite extends: .theodolite
needs: needs:
- build-theodolite - build-theodolite-jvm
- build-theodolite-native
- test-theodolite - test-theodolite
script: ./gradlew detekt --continue script: ./gradlew detekt --continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment