Renaming scripts folder
[demo.git] / scripts / deploy_vlb_scripts.sh
diff --git a/scripts/deploy_vlb_scripts.sh b/scripts/deploy_vlb_scripts.sh
new file mode 100755 (executable)
index 0000000..88c431f
--- /dev/null
@@ -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/{}
+