diff options
author | Pawel Kadlubanski <pawel.kadlubanski@nokia.com> | 2018-06-07 15:43:32 +0200 |
---|---|---|
committer | Pawel Kadlubanski <pawel.kadlubanski@nokia.com> | 2018-06-07 15:44:38 +0200 |
commit | 21203341387259fbc069cb456ad4e47afcf4951f (patch) | |
tree | eca3423957b43b4c267120e8b23d11466232d6b7 /test/mocks | |
parent | e5f628308ed20d02a6b0cbf745365fe4c18ec262 (diff) |
Changing docker image tag
Issue-ID: INT-458
Change-Id: I1860841fd3b0eecb79b0991ed084a7dc61e85703
Signed-off-by: Pawel Kadlubanski <pawel.kadlubanski@nokia.com>
Diffstat (limited to 'test/mocks')
-rw-r--r-- | test/mocks/pnfsimulator/pom.xml | 7 | ||||
-rwxr-xr-x | test/mocks/pnfsimulator/simulator.sh | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/test/mocks/pnfsimulator/pom.xml b/test/mocks/pnfsimulator/pom.xml index 040f37023..f607424da 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.1.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.latest>latest</docker.image.tag.latest> <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> @@ -122,7 +122,8 @@ <version>1.0.0</version> <configuration> <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.artifactId}</imageName> - <imageTags>${docker.image.tag}</imageTags> + <imageTags>latest</imageTags> + <imageTags>${project.version}-latest</imageTags> <serverId>${onap.nexus.dockerregistry.daily}</serverId> <baseImage>openjdk:8-jdk-alpine</baseImage> <cmd>java -cp ${dependency.directory.name}/*:${project.build.finalName}.jar ${simulator.main.class}</cmd> diff --git a/test/mocks/pnfsimulator/simulator.sh b/test/mocks/pnfsimulator/simulator.sh index 5e8b2d5ac..ff3c07c12 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.1.0-SNAPSHOT-latest function main(){ |