Changing docker image tag 41/50941/1
authorPawel Kadlubanski <pawel.kadlubanski@nokia.com>
Thu, 7 Jun 2018 13:48:38 +0000 (15:48 +0200)
committerPawel Kadlubanski <pawel.kadlubanski@nokia.com>
Thu, 7 Jun 2018 13:48:38 +0000 (15:48 +0200)
Issue-ID: INT-458

Change-Id: Iffde91aa44e76ebbb76bc03c570a3a4298f76278
Signed-off-by: Pawel Kadlubanski <pawel.kadlubanski@nokia.com>
test/mocks/pnfsimulator/pom.xml
test/mocks/pnfsimulator/simulator.sh

index 040f370..2fee836 100644 (file)
@@ -6,7 +6,7 @@
 
   <groupId>org.onap.pnfsimulator</groupId>
   <artifactId>pnf-simulator</artifactId>
-  <version>1.0-SNAPSHOT</version>
+  <version>1.0.0-SNAPSHOT</version>
 
   <name>pnf-simulator</name>
 
@@ -15,7 +15,7 @@
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
         <simulator.main.class>org.onap.pnfsimulator.Main</simulator.main.class>
-        <docker.image.tag>latest</docker.image.tag>
+        <docker.image.tag>${project.version}-latest</docker.image.tag>
         <dependency.directory.name>libs</dependency.directory.name>
         <dependency.directory.location>${project.build.directory}/${dependency.directory.name}</dependency.directory.location>
         <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
index 5e8b2d5..d118556 100755 (executable)
@@ -5,7 +5,7 @@ set -euo pipefail
 CONTAINER_NAME=pnf-simulator
 CONFIG_FILE_PATH=/config/body.json
 SIMULATOR_DOCKER_HUB=nexus3.onap.org:10003/onap
-SIMULATOR_TAG=latest
+SIMULATOR_TAG=1.0.0-SNAPSHOT-latest
 
 function main(){