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

change default values

parent f7213983
No related branches found
No related tags found
1 merge request!168Enhance Code Quality
...@@ -3,4 +3,3 @@ ...@@ -3,4 +3,3 @@
!build/*-runner.jar !build/*-runner.jar
!build/lib/* !build/lib/*
!build/quarkus-app/* !build/quarkus-app/*
!config/*
...@@ -44,8 +44,6 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \ ...@@ -44,8 +44,6 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
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 examples/ /deployments/examples/
EXPOSE 8080 EXPOSE 8080
USER 1001 USER 1001
......
...@@ -20,8 +20,6 @@ RUN chown 1001 /deployments \ ...@@ -20,8 +20,6 @@ RUN chown 1001 /deployments \
&& chmod "g+rwX" /deployments \ && chmod "g+rwX" /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 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") ?: "./examples/standalone/example-execution.yaml" val executionPath = System.getenv("THEODOLITE_EXECUTION") ?: "execution/execution.yaml"
val benchmarkPath = System.getenv("THEODOLITE_BENCHMARK") ?: "./examples/standalone/example-benchmark.yaml" val benchmarkPath = System.getenv("THEODOLITE_BENCHMARK") ?: "benchmark/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