summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-08-28 10:14:00 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-08-31 07:21:39 +0000
commit5115764009a92947990a59c723f63180b537f5f0 (patch)
tree44f69ed3e3b322bccaa0a716e7d74484f10c0bec /boot
parent54be07cff97400f64fac2ecd398542c3a081f60c (diff)
Add CLI deployment as part of portal
CLI is available as onap/cli docker image and is enabled to get installed as part of portal vm CLI-14 Change-Id: Ia1035a934f9808d76a78415462677708017eaea7 Signed-off-by: Kanagaraj Manickam k00365106<kanagaraj.manickam@huawei.com>
Diffstat (limited to 'boot')
-rwxr-xr-xboot/portal_vm_init.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/portal_vm_init.sh b/boot/portal_vm_init.sh
index a6c1ba48..f6a84bbc 100755
--- a/boot/portal_vm_init.sh
+++ b/boot/portal_vm_init.sh
@@ -29,6 +29,8 @@ docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/openecomp/${DB_IMG_NAME}:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/openecomp/${EP_IMG_NAME}:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/openecomp/${WMS_IMG_NAME}:$DOCKER_IMAGE_VERSION
+# Add CLI docker image
+docker pull $NEXUS_DOCKER_REPO/onap/cli:$DOCKER_IMAGE_VERSION
# Tag them as expected by docker-compose file
docker tag $NEXUS_DOCKER_REPO/openecomp/${DB_IMG_NAME}:$DOCKER_IMAGE_VERSION $DB_IMG_NAME:$PORTAL_TAG
@@ -38,3 +40,4 @@ docker tag $NEXUS_DOCKER_REPO/openecomp/${WMS_IMG_NAME}:$DOCKER_IMAGE_VERSION $W
# docker-compose is not in /usr/bin
/opt/docker/docker-compose down
/opt/docker/docker-compose up -d
+