aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-03-06 11:26:59 -0500
committerplatania <platania@research.att.com>2017-03-06 11:26:59 -0500
commitefd720a6d7cab82b6689e79f36d5f02236fe87eb (patch)
tree884cacc907565de1fd3ea01ee6f1972c126f6a8f
parentcb574a256b5a2df5f94983cfc75cf0c9e50d85ec (diff)
Fix bug in deploy script
Change-Id: I92f942373084492bc0c32b86fadf8f8596a73b14 Signed-off-by: platania <platania@research.att.com>
-rwxr-xr-xscripts/deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index a30ff802..0c703486 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -6,6 +6,7 @@ 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"
@@ -13,6 +14,7 @@ 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"
@@ -30,6 +32,10 @@ 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
+curl -vk --netrc-file "${NETRC}" --upload-file README.md $REPO_URL/$HEAT_GROUP_ID/
+curl -vk --netrc-file "${NETRC}" --upload-file LICENSE.TXT $REPO_URL/$HEAT_GROUP_ID/
+
cd $PATH_TO_HEAT_MASTER
ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$HEAT_MASTER_GROUP_ID/$VERSION/{}