aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Kadlubanski <pawel.kadlubanski@nokia.com>2018-06-07 15:48:38 +0200
committerPawel Kadlubanski <pawel.kadlubanski@nokia.com>2018-06-07 15:48:38 +0200
commitd77cb63fe253a8f9335764aeecf971348c894728 (patch)
tree5507bf8bdc52816b1c56091310243916c8192888
parente5f628308ed20d02a6b0cbf745365fe4c18ec262 (diff)
Changing docker image tag
Issue-ID: INT-458 Change-Id: Iffde91aa44e76ebbb76bc03c570a3a4298f76278 Signed-off-by: Pawel Kadlubanski <pawel.kadlubanski@nokia.com>
-rw-r--r--test/mocks/pnfsimulator/pom.xml4
-rwxr-xr-xtest/mocks/pnfsimulator/simulator.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/mocks/pnfsimulator/pom.xml b/test/mocks/pnfsimulator/pom.xml
index 040f37023..2fee83622 100644
--- a/test/mocks/pnfsimulator/pom.xml
+++ b/test/mocks/pnfsimulator/pom.xml
@@ -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>
diff --git a/test/mocks/pnfsimulator/simulator.sh b/test/mocks/pnfsimulator/simulator.sh
index 5e8b2d5ac..d1185565f 100755
--- a/test/mocks/pnfsimulator/simulator.sh
+++ b/test/mocks/pnfsimulator/simulator.sh
@@ -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(){