diff options
author | Lawrance, Edwin <Edwin.Lawrance@amdocs.com> | 2018-03-23 15:07:15 +0000 |
---|---|---|
committer | Lawrance, Edwin <Edwin.Lawrance@amdocs.com> | 2018-03-23 17:04:48 +0000 |
commit | 6a6798fa7751ece24386057e18641c4a1e63a393 (patch) | |
tree | 3d74ad0e688df68fee54e3c2cac4fc9f657afe1c /deploy_vm1.sh | |
parent | 7e4a92e9adea47112ee2db449616550c6bbb6ee1 (diff) |
Updating Babel test configurations
Latest onap password is updated
Issue-ID: AAI-936
Change-Id: I7b80e473d52196dac6012886b6cec0e62a26f2b5
Signed-off-by: Lawrance, Edwin <Edwin.Lawrance@amdocs.com>
Diffstat (limited to 'deploy_vm1.sh')
-rwxr-xr-x | deploy_vm1.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy_vm1.sh b/deploy_vm1.sh index d51d8d1..34a3d43 100755 --- a/deploy_vm1.sh +++ b/deploy_vm1.sh @@ -15,6 +15,7 @@ export MODEL_LOADER_LOGS="/opt/aai/logroot/AAI-MODEL-LOADER"; export UI_LOGS="/opt/aai/logroot/AAI-UI"; export CHAMP_LOGS="/opt/aai/logroot/AAI-CHAMP-SERVICE"; export CRUD_LOGS="/opt/aai/logroot/AAI-CRUD-SERVICE"; +export BABEL_LOGS="/opt/aai/logroot/AAI-BABEL"; if [ ! -d "$RESOURCES_LOGS" ]; then @@ -64,6 +65,12 @@ then mkdir -p $CRUD_LOGS; fi; +if [ ! -d "$BABEL_LOGS" ]; +then + echo "Warning: Unable to find the volume directory $BABEL_LOGS so creating it as regular directory"; + mkdir -p $BABEL_LOGS; +fi; + export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1); export DOCKER_REGISTRY="${DOCKER_REGISTRY:-localhost:5000}"; export AAI_HAPROXY_IMAGE="${AAI_HAPROXY_IMAGE:-aaionap/haproxy}"; @@ -141,6 +148,9 @@ docker tag $DOCKER_REGISTRY/onap/champ-service:$DOCKER_IMAGE_VERSION $DOCKER_REG docker pull ${DOCKER_REGISTRY}/onap/crud-service:${DOCKER_IMAGE_VERSION}; docker tag $DOCKER_REGISTRY/onap/crud-service:$DOCKER_IMAGE_VERSION $DOCKER_REGISTRY/onap/crud-service:latest; +docker pull ${DOCKER_REGISTRY}/onap/babel:${DOCKER_IMAGE_VERSION}; +docker tag $DOCKER_REGISTRY/onap/babel:$DOCKER_IMAGE_VERSION $DOCKER_REGISTRY/onap/babel:latest; + # cleanup $DOCKER_COMPOSE_CMD stop $DOCKER_COMPOSE_CMD rm -f -v @@ -172,6 +182,8 @@ $DOCKER_COMPOSE_CMD up -d champ-service $DOCKER_COMPOSE_CMD up -d crud-service +$DOCKER_COMPOSE_CMD up -d babel + echo "A&AI Microservices are successfully started"; crontab < /opt/test-config/aaicrontab |