summaryrefslogtreecommitdiffstats
path: root/scripts/deploy_vfw_scripts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy_vfw_scripts.sh')
-rwxr-xr-xscripts/deploy_vfw_scripts.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/deploy_vfw_scripts.sh b/scripts/deploy_vfw_scripts.sh
new file mode 100755
index 00000000..49e7b019
--- /dev/null
+++ b/scripts/deploy_vfw_scripts.sh
@@ -0,0 +1,11 @@
+#!/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/{}
+