From: Jiang, Yunhong Date: Fri, 14 Oct 2016 05:26:39 +0000 (+0000) Subject: Merge "This patch contains scripts to publish the data to local Grafana Dashboard... X-Git-Tag: danube.1.0~33 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=15f48a2a1322a8dae448031ea2372d05dbf84731;hp=596c056f98f1225a2fffd76cf30f6982b69ec0e4;p=kvmfornfv.git Merge "This patch contains scripts to publish the data to local Grafana Dashboard for daily Job" --- diff --git a/docker_image_build/Dockerfile b/docker_image_build/Dockerfile index fd1ea5883..fa7195400 100644 --- a/docker_image_build/Dockerfile +++ b/docker_image_build/Dockerfile @@ -5,5 +5,7 @@ # FROM kvmfornfv1:latest RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git -b stable/colorado +RUN var=`grep "loops" /root/yardstick/samples/cyclictest-node-context.yaml |awk '{ print $2/1000 }'`; \ + sed -i -e "s/3600/$((var+1500))/g" /root/yardstick/yardstick/ssh.py RUN cd /root/yardstick && python setup.py install WORKDIR /root