summaryrefslogtreecommitdiffstats
path: root/boot/portal_vm_init.sh
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2017-07-27 17:58:27 -0400
committerManoop Talasila <talasila@research.att.com>2017-07-27 17:59:07 -0400
commite8fd67878a222dc447e5722e61a73d9be2810b68 (patch)
treeff508a4caa0815c2e146bdc53417aa6e3e24376b /boot/portal_vm_init.sh
parent9b11fadd0f3dc2fcdda935c6d9a4c4d5469a0100 (diff)
updated portal new docker images
Change-Id: I286f8a714b2dee5e0b44f99abe4b14485045b948 Signed-off-by: Manoop Talasila <talasila@research.att.com>
Diffstat (limited to 'boot/portal_vm_init.sh')
-rw-r--r--boot/portal_vm_init.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot/portal_vm_init.sh b/boot/portal_vm_init.sh
index f6c0e75c..78d88414 100644
--- a/boot/portal_vm_init.sh
+++ b/boot/portal_vm_init.sh
@@ -12,24 +12,29 @@ cd /opt
chmod +x portal/deliveries/new_start.sh
chmod +x portal/deliveries/new_stop.sh
chmod +x portal/deliveries/dbstart.sh
+
unzip -o portal/deliveries/etc.zip -d /PROJECT/OpenSource/UbuntuEP/
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/openecomp/portaldb:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/openecomp/portalapps:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/openecomp/portalwms:$DOCKER_IMAGE_VERSION
docker create --name data_vol_portal -v /var/lib/mysql mariadb
docker tag $NEXUS_DOCKER_REPO/openecomp/portaldb:$DOCKER_IMAGE_VERSION ecompdb:portal
docker tag $NEXUS_DOCKER_REPO/openecomp/portalapps:$DOCKER_IMAGE_VERSION ep:1610-1
+docker tag $NEXUS_DOCKER_REPO/openecomp/portalwms:$DOCKER_IMAGE_VERSION widget-ms:latest
docker rm -f ecompdb_portal
docker rm -f 1610-1
+docker rm -f widget-ms:latest
cd portal/deliveries
./dbstart.sh
./new_start.sh
+./widget_ms_start.sh
sleep 180