aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-17 16:23:59 -0500
committerplatania <platania@research.att.com>2017-02-17 16:25:03 -0500
commit71984d1bffa966c366d47464a3acf4b440c9c7c9 (patch)
tree1b30b6e686a320fc9dacf818e5d0410206b0384d /scripts
parenta7417591cd3a600bbbb4fbbc6e30c376ea9b6218 (diff)
POM reorganization
Change-Id: I38076a941f6038aa8d5e67e2133c48231193430b Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy.sh6
-rwxr-xr-xscripts/deploy_boot.sh11
-rwxr-xr-xscripts/deploy_heat.sh11
-rwxr-xr-xscripts/deploy_vfw_scripts.sh11
-rwxr-xr-xscripts/deploy_vlb_scripts.sh11
5 files changed, 5 insertions, 45 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 3cfe1945..e1c0bbba 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -1,7 +1,7 @@
#!/bin/bash
########## Define parameters ##########
-VERSION="1.0.0"
+VERSION="1.0.0-SNAPSHOT"
PATH_TO_BOOT="../boot"
PATH_TO_HEAT="../heat"
@@ -34,3 +34,7 @@ ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VFW_
cd $PATH_TO_VLB
ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
####################################################
+
+########## Clean up ##########
+rm ${NETRC}
+##############################
diff --git a/scripts/deploy_boot.sh b/scripts/deploy_boot.sh
deleted file mode 100755
index fb256559..00000000
--- a/scripts/deploy_boot.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-source repo_config.txt
-
-SOURCE_DIR=../boot
-GROUP_ID=org.openecomp.demo.boot
-VERSION=1.0.0
-
-cd $SOURCE_DIR
-ls | xargs -I{} curl -v -u $REPO_USERNAME:$REPO_PASSWORD --upload-file {} $REPO_URL/$GROUP_ID/$VERSION/{}
-
diff --git a/scripts/deploy_heat.sh b/scripts/deploy_heat.sh
deleted file mode 100755
index 74a16201..00000000
--- a/scripts/deploy_heat.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-source repo_config.txt
-
-SOURCE_DIR=../heat
-GROUP_ID=org.openecomp.demo.heat
-VERSION=1.0.0
-
-cd $SOURCE_DIR
-ls | xargs -I{} curl -v -u $REPO_USERNAME:$REPO_PASSWORD --upload-file {} $REPO_URL/$GROUP_ID/$VERSION/{}
-
diff --git a/scripts/deploy_vfw_scripts.sh b/scripts/deploy_vfw_scripts.sh
deleted file mode 100755
index 49e7b019..00000000
--- a/scripts/deploy_vfw_scripts.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-source repo_config.txt
-
-SOURCE_DIR=../vnfs/vFW/scripts
-GROUP_ID=org.openecomp.demo.vnf.vfw
-VERSION=1.0.0
-
-cd $SOURCE_DIR
-ls | xargs -I{} curl -v -u $REPO_USERNAME:$REPO_PASSWORD --upload-file {} $REPO_URL/$GROUP_ID/$VERSION/{}
-
diff --git a/scripts/deploy_vlb_scripts.sh b/scripts/deploy_vlb_scripts.sh
deleted file mode 100755
index 88c431f6..00000000
--- a/scripts/deploy_vlb_scripts.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-source repo_config.txt
-
-SOURCE_DIR=../vnfs/vLB/scripts
-GROUP_ID=org.openecomp.demo.vnf.vlb
-VERSION=1.0.0
-
-cd $SOURCE_DIR
-ls | xargs -I{} curl -v -u $REPO_USERNAME:$REPO_PASSWORD --upload-file {} $REPO_URL/$GROUP_ID/$VERSION/{}
-