aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng <lji@research.att.com>2017-03-09 05:10:19 +0000
committerLusheng <lji@research.att.com>2017-03-09 05:19:33 +0000
commitc29d1690c122b18d979d57ae73e2571ca09d77c0 (patch)
tree1b0c2c7c4085a4b4d136275923a873b59b35e516
parentde400eb69786c8d4deb41085805c80ad41406eb3 (diff)
added version.properties, docker name update
Change-Id: I5442c2cb0652120d1f0cb851e2add675992ef15e Signed-off-by: Lusheng <lji@research.att.com>
-rwxr-xr-xdocker-build.sh4
-rw-r--r--version.properties6
2 files changed, 8 insertions, 2 deletions
diff --git a/docker-build.sh b/docker-build.sh
index d74b4dc..43c6b44 100755
--- a/docker-build.sh
+++ b/docker-build.sh
@@ -108,7 +108,7 @@ EOF
#
# build the docker image. tag and then push to the remote repo
#
-IMAGE='openecomp/dcae-controller-common-event'
+IMAGE='openecomp/dcae-collector-common-event'
#TAG='1.0.0'
VERSION=$(xpath -e "//project/version/text()" "pom.xml")
EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev)
@@ -147,7 +147,7 @@ if [ ! -z "$REPO" ]; then
docker push "${RFQI}"
- TAG="LATEST"
+ TAG="latest"
LFQI="${IMAGE}:${TAG}"
RFQI2="${REPO}/${LFQI}"
echo "$LFQI"
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..8bc13ef
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,6 @@
+major=1
+minor=0
+patch=0
+base_version="${major}.${minor}.${patch}"
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT