From 6f588d5a78f6baabb7c96aebbfd2fcfb443e5802 Mon Sep 17 00:00:00 2001 From: "Christopher Lott (cl778h)" Date: Mon, 7 Aug 2017 08:26:05 -0400 Subject: 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) --- deliveries/os_docker_release.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'deliveries/os_docker_release.sh') 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} -- cgit 1.2.3-korg