aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2018-03-20 13:56:04 -0400
committerst782s <statta@research.att.com>2018-03-20 13:56:04 -0400
commit9d606b0d0c32f9e9ee1b7872c107350b8686c0ea (patch)
treeee7d641b3b0cace3ba575898c292f28b28ae6be5 /boot
parent6c95e2550149ef09ec481c282404e693d91595fe (diff)
deployment scripts
Update Beijing deployment scripts for release tags Issue-ID: PORTAL-217 Change-Id: I18e5510d0767c522bfdebd3e5d0aa81b28575232 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'boot')
-rwxr-xr-xboot/portal_vm_init.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot/portal_vm_init.sh b/boot/portal_vm_init.sh
index 7d1c5351..152c54d4 100755
--- a/boot/portal_vm_init.sh
+++ b/boot/portal_vm_init.sh
@@ -13,6 +13,7 @@ DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
# Use "latest" to deploy snapshot images:
# DOCKER_IMAGE_VERSION=latest
CLI_DOCKER_VERSION=$(cat /opt/config/cli_docker_version.txt)
+ZK_IMAGE_VERSION=3.4
# Refresh configuration and scripts
cd /opt/portal
@@ -26,12 +27,18 @@ source .env
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/$DB_IMG_NAME:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/$EP_IMG_NAME:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/$SDK_IMG_NAME:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/$CDR_IMG_NAME:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/$ZK_IMG_NAME:$ZK_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/$WMS_IMG_NAME:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/$CLI_IMG_NAME:$CLI_DOCKER_VERSION
# Tag them as expected by docker-compose file
docker tag $NEXUS_DOCKER_REPO/$DB_IMG_NAME:$DOCKER_IMAGE_VERSION $DB_IMG_NAME:$PORTAL_TAG
docker tag $NEXUS_DOCKER_REPO/$EP_IMG_NAME:$DOCKER_IMAGE_VERSION $EP_IMG_NAME:$PORTAL_TAG
+docker tag $NEXUS_DOCKER_REPO/$SDK_IMG_NAME:$DOCKER_IMAGE_VERSION $SDK_IMG_NAME:$PORTAL_TAG
+docker tag $NEXUS_DOCKER_REPO/$CDR_IMG_NAME:$DOCKER_IMAGE_VERSION $CDR_IMG_NAME:$PORTAL_TAG
+docker tag $NEXUS_DOCKER_REPO/$ZK_IMG_NAME:$ZK_IMAGE_VERSION $ZK_IMG_NAME:$PORTAL_TAG
docker tag $NEXUS_DOCKER_REPO/$WMS_IMG_NAME:$DOCKER_IMAGE_VERSION $WMS_IMG_NAME:$PORTAL_TAG
docker tag $NEXUS_DOCKER_REPO/$CLI_IMG_NAME:$CLI_DOCKER_VERSION $CLI_IMG_NAME:$PORTAL_TAG
@@ -46,4 +53,4 @@ export PROPS_DIR=./properties_simpledemo
# docker-compose is not in /usr/bin
/opt/docker/docker-compose down
-/opt/docker/docker-compose up -d
+/opt/docker/docker-compose up -d \ No newline at end of file