From: talasila Date: Wed, 22 Feb 2017 17:03:21 +0000 (-0500) Subject: latest version is added to docker X-Git-Tag: v1.3.0~80 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=portal.git;a=commitdiff_plain;h=1ba915bb1d5d94320278718e014737ade8ff6750 latest version is added to docker Change-Id: I4ed035a361fce3fa80d839e711d313d8e3450d1e Signed-off-by: talasila --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e7aba6c1..25a0f081 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,8 @@ - - + + - + @@ -510,7 +510,7 @@ - + @@ -904,16 +904,16 @@ - - + + - - + + diff --git a/deliveries/os_docker_push.sh b/deliveries/os_docker_push.sh index 40d15cb5..165d05d6 100644 --- a/deliveries/os_docker_push.sh +++ b/deliveries/os_docker_push.sh @@ -4,15 +4,23 @@ REPO="nexus3.openecomp.org:10003" -APPS="${REPO}/openecomp/portalapps:1.0.0" -DB="${REPO}/openecomp/portaldb:1.0.0" +VERSION="1.0.0" +LATEST="latest" -# docker login nexus3.openecomp.org:10003 +APPS_VERSION="${REPO}/openecomp/portalapps:${VERSION}" +DB_VERSION="${REPO}/openecomp/portaldb:${VERSION}" -# tag -docker tag ep:1610-1 ${APPS} -docker tag ecompdb:portal ${DB} +APPS_LATEST="${REPO}/openecomp/portalapps:${LATEST}" +DB_LATEST="${REPO}/openecomp/portaldb:${LATEST}" + +# tag version +docker tag ep:1610-1 ${APPS_VERSION} +docker tag ecompdb:portal ${DB_VERSION} +docker tag ep:1610-1 ${APPS_LATEST} +docker tag ecompdb:portal ${DB_LATEST} # push -docker push ${APPS} -docker push ${DB} \ No newline at end of file +docker push ${APPS_VERSION} +docker push ${DB_VERSION} +docker push ${APPS_LATEST} +docker push ${DB_LATEST} \ No newline at end of file diff --git a/deliveries/os_docker_release.sh b/deliveries/os_docker_release.sh index 6bcbfb66..95b1c80b 100644 --- a/deliveries/os_docker_release.sh +++ b/deliveries/os_docker_release.sh @@ -4,15 +4,23 @@ REPO="nexus3.openecomp.org:10002" -APPS="${REPO}/openecomp/portalapps:1.0.0" -DB="${REPO}/openecomp/portaldb:1.0.0" +VERSION="1.0.0" +LATEST="latest" -# docker login nexus3.openecomp.org:10002 +APPS_VERSION="${REPO}/openecomp/portalapps:${VERSION}" +DB_VERSION="${REPO}/openecomp/portaldb:${VERSION}" -# tag -docker tag ep:1610-1 ${APPS} -docker tag ecompdb:portal ${DB} +APPS_LATEST="${REPO}/openecomp/portalapps:${LATEST}" +DB_LATEST="${REPO}/openecomp/portaldb:${LATEST}" + +# tag version +docker tag ep:1610-1 ${APPS_VERSION} +docker tag ecompdb:portal ${DB_VERSION} +docker tag ep:1610-1 ${APPS_LATEST} +docker tag ecompdb:portal ${DB_LATEST} # push -docker push ${APPS} -docker push ${DB} \ No newline at end of file +docker push ${APPS_VERSION} +docker push ${DB_VERSION} +docker push ${APPS_LATEST} +docker push ${DB_LATEST} \ No newline at end of file