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_settings.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'deliveries/os_settings.sh') diff --git a/deliveries/os_settings.sh b/deliveries/os_settings.sh index c4b7a95d..beb43d3e 100755 --- a/deliveries/os_settings.sh +++ b/deliveries/os_settings.sh @@ -1,13 +1,20 @@ #!/bin/bash +# Establish constants for the management shell scripts. +# These variables are ALSO used in demo/boot/portal_vm_init.sh -# This docker image name is hardcoded at the ONAP demo repository, -# so changing it is nontrivial. +EP_TAG_NAME=portalapps EP_IMG_NAME=ep:1610-1 EP_CONT_NAME=onap_portal + +DB_TAG_NAME=portaldb DB_IMG_NAME=ecompdb:portal DB_CONT_NAME=ecompdb_portal +DB_VOL_NAME=data_vol_portal + +WMS_TAG_NAME=portalwms WMS_IMG_NAME=widget-ms WMS_CONT_NAME=ecomp-portal-widget-ms + VERSION=1.1.0 ETCDIR=etc WORKINGDIR=PROJECT -- cgit 1.2.3-korg