diff options
author | Christopher Lott (cl778h) <clott@research.att.com> | 2017-08-07 08:26:05 -0400 |
---|---|---|
committer | Christopher Lott (cl778h) <clott@research.att.com> | 2017-08-07 08:30:30 -0400 |
commit | 6f588d5a78f6baabb7c96aebbfd2fcfb443e5802 (patch) | |
tree | af29f3bbd8ab6ac14339f566416f9cdb3d8d1be4 /deliveries/os_docker_release.sh | |
parent | fff3857077a23c2d10087235818f5d70f2957b9a (diff) |
Move hardcoded container tags to variables.
Improve robustness of management scripts:
move image tag name prefixes to os_settings.sh script and use
them in all scripts, also in ONAP boot/portal_vm_init.sh script.
Issue: PORTAL-62
Change-Id: I62bd27f498d65551c70e18dced38de7bc3be016f
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'deliveries/os_docker_release.sh')
-rwxr-xr-x | deliveries/os_docker_release.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/deliveries/os_docker_release.sh b/deliveries/os_docker_release.sh index 91b5e187..2bd2e20d 100755 --- a/deliveries/os_docker_release.sh +++ b/deliveries/os_docker_release.sh @@ -11,13 +11,13 @@ TIMESTAMP=$(date +%C%y%m%dT%H%M%S) VERSION="1.1.0-STAGING-${TIMESTAMP}" LATEST="1.1-STAGING-latest" -APPS_VERSION="${REPO}/openecomp/portalapps:${VERSION}" -DB_VERSION="${REPO}/openecomp/portaldb:${VERSION}" -WMS_VERSION="${REPO}/openecomp/portalwms:${VERSION}" +APPS_VERSION="${REPO}/openecomp/${EP_TAG_NAME}:${VERSION}" +DB_VERSION="${REPO}/openecomp/${DB_TAG_NAME}:${VERSION}" +WMS_VERSION="${REPO}/openecomp/${WMS_TAG_NAME}:${VERSION}" -APPS_LATEST="${REPO}/openecomp/portalapps:${LATEST}" -DB_LATEST="${REPO}/openecomp/portaldb:${LATEST}" -WMS_LATEST="${REPO}/openecomp/portalwms:${LATEST}" +APPS_LATEST="${REPO}/openecomp/${EP_TAG_NAME}:${LATEST}" +DB_LATEST="${REPO}/openecomp/${DB_TAG_NAME}:${LATEST}" +WMS_LATEST="${REPO}/openecomp/${WMS_TAG_NAME}:${LATEST}" # tag version docker tag ${EP_IMG_NAME} ${APPS_VERSION} |