summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-03-06 10:47:18 -0500
committerplatania <platania@research.att.com>2017-03-06 10:47:18 -0500
commitb8766f7f50782f8db11ffc123d274299fce853a3 (patch)
tree8c6161bdad31f29a6b2ef58a5726c966ab011703
parentcfda823d61159c8180a38aa50c397713b90e7d19 (diff)
Upload new heat templates
Change-Id: Ibd8139ea442731b604cf241c4621c1a9bc43961b Signed-off-by: platania <platania@research.att.com>
-rwxr-xr-xscripts/deploy.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index fa837248..8c1d58e2 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -6,12 +6,16 @@ set -x
VERSION="1.0.0-SNAPSHOT"
PATH_TO_BOOT="/w/workspace/demo-master-merge-java/boot"
-PATH_TO_HEAT="/w/workspace/demo-master-merge-java/heat"
+PATH_TO_HEAT_MASTER="/w/workspace/demo-master-merge-java/heat/OpenECOMP"
+PATH_TO_HEAT_VFW="/w/workspace/demo-master-merge-java/heat/vFW"
+PATH_TO_HEAT_VLB="/w/workspace/demo-master-merge-java/heat/vLB"
PATH_TO_VFW="/w/workspace/demo-master-merge-java/vnfs/vFW/scripts"
PATH_TO_VLB="/w/workspace/demo-master-merge-java/vnfs/vLB/scripts"
BOOT_GROUP_ID="org.openecomp.demo/boot"
-HEAT_GROUP_ID="org.openecomp.demo/heat"
+HEAT_MASTER_GROUP_ID="org.openecomp.demo/heat/OpenECOMP"
+HEAT_VFW_GROUP_ID="org.openecomp.demo/heat/vFW"
+HEAT_VLB_GROUP_ID="org.openecomp.demo/heat/vLB"
VFW_GROUP_ID="org.openecomp.demo/vnfs/vfw"
VLB_GROUP_ID="org.openecomp.demo/vnfs/vlb"
@@ -26,7 +30,13 @@ echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "${NETRC}"
cd $PATH_TO_BOOT
ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$BOOT_GROUP_ID/$VERSION/{}
-cd $PATH_TO_HEAT
+cd $PATH_TO_HEAT_MASTER
+ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
+
+cd $PATH_TO_HEAT_VFW
+ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
+
+cd $PATH_TO_HEAT_VLB
ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
cd $PATH_TO_VFW