Skip to content
Snippets Groups Projects
Commit 9b79a2e4 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

update benchmark and execution files

parent 54dc743f
No related branches found
No related tags found
1 merge request!168Enhance Code Quality
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
!build/*-runner.jar !build/*-runner.jar
!build/lib/* !build/lib/*
!build/quarkus-app/* !build/quarkus-app/*
!config/* !config/*
\ No newline at end of file !examples/*
\ No newline at end of file
...@@ -24,7 +24,7 @@ spec: ...@@ -24,7 +24,7 @@ spec:
loadGenerationDelay: 30 # in seconds loadGenerationDelay: 30 # in seconds
restrictions: restrictions:
- "LowerBound" - "LowerBound"
configOverrides: configOverrides: []
# - patcher: # - patcher:
# type: "NodeSelectorPatcher" # type: "NodeSelectorPatcher"
# resource: "uc1-load-generator-deployment.yaml" # resource: "uc1-load-generator-deployment.yaml"
......
...@@ -45,6 +45,7 @@ ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jb ...@@ -45,6 +45,7 @@ ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jb
COPY build/lib/* /deployments/lib/ COPY build/lib/* /deployments/lib/
COPY build/*-runner.jar /deployments/app.jar COPY build/*-runner.jar /deployments/app.jar
COPY config/ /deployments/config/ COPY config/ /deployments/config/
COPY examples/ /deployments/examples/
EXPOSE 8080 EXPOSE 8080
USER 1001 USER 1001
......
...@@ -21,6 +21,7 @@ RUN chown 1001 /deployments \ ...@@ -21,6 +21,7 @@ RUN chown 1001 /deployments \
&& chown 1001:root /deployments && chown 1001:root /deployments
COPY --chown=1001:root build/*-runner /deployments/application COPY --chown=1001:root build/*-runner /deployments/application
COPY config/ /deployments/config/ COPY config/ /deployments/config/
COPY examples/ /deployments/examples/
EXPOSE 8080 EXPOSE 8080
USER 1001 USER 1001
......
...@@ -31,8 +31,8 @@ class TheodoliteStandalone { ...@@ -31,8 +31,8 @@ class TheodoliteStandalone {
fun start() { fun start() {
logger.info { "Theodolite started" } logger.info { "Theodolite started" }
val executionPath = System.getenv("THEODOLITE_EXECUTION") ?: "./config/example-execution-yaml-resource.yaml" val executionPath = System.getenv("THEODOLITE_EXECUTION") ?: "./examples/standalone/example-execution.yaml"
val benchmarkPath = System.getenv("THEODOLITE_BENCHMARK") ?: "./config/example-benchmark-yaml-resource.yaml" val benchmarkPath = System.getenv("THEODOLITE_BENCHMARK") ?: "./examples/standalone/example-benchmark.yaml"
logger.info { "Using $executionPath for BenchmarkExecution" } logger.info { "Using $executionPath for BenchmarkExecution" }
logger.info { "Using $benchmarkPath for BenchmarkType" } logger.info { "Using $benchmarkPath for BenchmarkType" }
......
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