Commit 0f9d5e3c authored by Daniel Seybold's avatar Daniel Seybold

switched to maven offline mode for jetty startup, changed from log file to...

switched to maven offline mode for jetty startup, changed from log file to stdout to enable log inspection via docker logs or portainer
parent 9c1e8427
Pipeline #45487 passed with stage
in 9 minutes and 10 seconds
......@@ -58,6 +58,9 @@ RUN chmod +x loadgen.sh
# telegraf monitoring
RUN mkdir /opt/telegraf ; cd /opt/telegraf ; wget https://dl.influxdata.com/telegraf/releases/telegraf_1.7.0-1_amd64.deb
RUN wget https://omi-gitlab.e-technik.uni-ulm.de/cloudiator/catalogue-scripts/raw/master/scripts/monitoring/telegraf/telegraf.conf -O /opt/telegraf/telegraf.conf
RUN mkdir -p /opt/results/YCSB/
RUN mkdir -p /opt/results/TPCC/
# expose ports
EXPOSE 8181
......
......@@ -100,15 +100,12 @@ function init(){
function workload_api_service(){
mkdir -p /opt/results/YCSB/
mkdir -p /opt/results/TPCC/
echo "starting workload-api!"
mvn jetty:run -f /opt/workload-api/pom.xml 2>&1 >> /var/log/workload-api.log
mvn -o jetty:run -f /opt/workload-api/pom.xml 2>&1
# whatever blocking call
tail -f /dev/null
#tail -f /dev/null
}
function start(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment