summaryrefslogtreecommitdiffstats
path: root/test/ete/scripts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-10-30 11:09:27 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-10-30 11:09:27 -0700
commitb84428e1c7e0ae6bfffdb72bdf532280d09fdc90 (patch)
tree776b03df48bd4448a278c1986dfb1c6215d3d095 /test/ete/scripts
parentaf26d51227424e507b44ab002ee06bc9532525a0 (diff)
Set up password env substitution in deploy script
Change-Id: I65d83f4d0f8b4d205e8eda7a4c3188c14620aca5 Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/scripts')
-rwxr-xr-xtest/ete/scripts/deploy-onap.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ete/scripts/deploy-onap.sh b/test/ete/scripts/deploy-onap.sh
index 02943935d..5d488c1ca 100755
--- a/test/ete/scripts/deploy-onap.sh
+++ b/test/ete/scripts/deploy-onap.sh
@@ -13,5 +13,9 @@ openstack stack delete -y $STACKS
STACK="ete-$(uuidgen | cut -c-8)"
echo "New Stack Name: ${STACK}"
+
+
+envsubst < ${WORKSPACE}/test/ete/labs/windriver/onap-openstack-template.env > ${WORKSPACE}/test/ete/labs/windriver/onap-openstack.env
+
openstack stack create -t ${ONAP_WORKDIR}/demo/heat/ONAP/onap_openstack.yaml -e ${WORKSPACE}/test/ete/labs/windriver/onap-openstack.env $STACK