diff options
author | Marco Platania <platania@research.att.com> | 2017-03-29 10:52:06 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2017-03-29 10:52:06 -0400 |
commit | f6a51980bb61a2e70cb80b3fa33a0a7c93438f4f (patch) | |
tree | c5755cbe23698fa12fc32dc3984f2f2e7eb55417 /boot | |
parent | fc7b4a5cfe3fac62abf682f17f0630f38b60f28b (diff) |
update boot scripts
Change-Id: I16a8e485bcf34f7d3fd8c7e62da9b3baeb5c34bb
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/appc_vm_init.sh | 5 | ||||
-rw-r--r-- | boot/policy_vm_init.sh | 8 | ||||
-rw-r--r-- | boot/portal_vm_init.sh | 4 | ||||
-rw-r--r-- | boot/sdnc_vm_init.sh | 6 |
4 files changed, 11 insertions, 12 deletions
diff --git a/boot/appc_vm_init.sh b/boot/appc_vm_init.sh index 5a11aae7..33177f7f 100644 --- a/boot/appc_vm_init.sh +++ b/boot/appc_vm_init.sh @@ -15,10 +15,9 @@ sed -i "s/DMAAP_TOPIC_ENV=.*/DMAAP_TOPIC_ENV="$DMAAP_TOPIC"/g" docker-compose.ym docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO docker pull $NEXUS_DOCKER_REPO/openecomp/appc-image:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/appc-image:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/appc-image:$DOCKER_IMAGE_VERSION openecomp/appc-image:latest docker pull $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION openecomp/dgbuilder-sdnc-image:latest -#/opt/docker/docker-compose pull /opt/docker/docker-compose up -d diff --git a/boot/policy_vm_init.sh b/boot/policy_vm_init.sh index 0656dc9f..2514467c 100644 --- a/boot/policy_vm_init.sh +++ b/boot/policy_vm_init.sh @@ -24,15 +24,15 @@ echo $IP_ADDRESS > config/pe/ip_addr.txt docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO docker pull $NEXUS_DOCKER_REPO/openecomp/policy/policy-db:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-db:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-db:$DOCKER_IMAGE_VERSION openecomp/policy/policy-db:latest docker pull $NEXUS_DOCKER_REPO/openecomp/policy/policy-pe:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-pe:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-pe:$DOCKER_IMAGE_VERSION openecomp/policy/policy-pe:latest docker pull $NEXUS_DOCKER_REPO/openecomp/policy/policy-drools:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-drools:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-drools:$DOCKER_IMAGE_VERSION openecomp/policy/policy-drools:latest docker pull $NEXUS_DOCKER_REPO/openecomp/policy/policy-nexus:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-nexus:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/policy/policy-nexus:$DOCKER_IMAGE_VERSION openecomp/policy/policy-nexus:latest /opt/docker/docker-compose up -d diff --git a/boot/portal_vm_init.sh b/boot/portal_vm_init.sh index b3f2d650..e7ecfe54 100644 --- a/boot/portal_vm_init.sh +++ b/boot/portal_vm_init.sh @@ -21,8 +21,8 @@ docker pull $NEXUS_DOCKER_REPO/openecomp/portalapps:$DOCKER_IMAGE_VERSION docker create --name data_vol_portal -v /var/lib/mysql mariadb -docker tag $NEXUS_DOCKER_REPO/openecomp/portaldb:latest ecompdb:portal -docker tag $NEXUS_DOCKER_REPO/openecomp/portalapps:latest ep:1610-1 +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 rm -f ecompdb_portal docker rm -f 1610-1 diff --git a/boot/sdnc_vm_init.sh b/boot/sdnc_vm_init.sh index 428819b7..0caaa03b 100644 --- a/boot/sdnc_vm_init.sh +++ b/boot/sdnc_vm_init.sh @@ -12,12 +12,12 @@ cd /opt/sdnc/installation/src/main/yaml docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO docker pull $NEXUS_DOCKER_REPO/openecomp/sdnc-image:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/sdnc-image:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/sdnc-image:$DOCKER_IMAGE_VERSION openecomp/sdnc-image:latest docker pull $NEXUS_DOCKER_REPO/openecomp/admportal-sdnc-image:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/admportal-sdnc-image:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/admportal-sdnc-image:$DOCKER_IMAGE_VERSION openecomp/admportal-sdnc-image:latest docker pull $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION -docker tag $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION latest +docker tag $NEXUS_DOCKER_REPO/openecomp/dgbuilder-sdnc-image:$DOCKER_IMAGE_VERSION openecomp/dgbuilder-sdnc-image:latest /opt/docker/docker-compose up -d |