summaryrefslogtreecommitdiffstats
path: root/scripts/deploy_vlb_scripts.sh
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-16 18:00:15 -0500
committerplatania <platania@research.att.com>2017-02-16 18:02:42 -0500
commita7417591cd3a600bbbb4fbbc6e30c376ea9b6218 (patch)
treebabfb1713c5141dd6769629a5789ad6f08ace902 /scripts/deploy_vlb_scripts.sh
parente02a7ebfe9e964d538a15a3123a3967ae959c1e1 (diff)
Renaming scripts folder
Change-Id: Ie47a38d5f320a8d273bb3bb8c2a6b8dbbed655b5 Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'scripts/deploy_vlb_scripts.sh')
-rwxr-xr-xscripts/deploy_vlb_scripts.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/deploy_vlb_scripts.sh b/scripts/deploy_vlb_scripts.sh
new file mode 100755
index 00000000..88c431f6
--- /dev/null
+++ b/scripts/deploy_vlb_scripts.sh
@@ -0,0 +1,11 @@
+#!/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/{}
+