summaryrefslogtreecommitdiffstats
path: root/deploy_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_scripts')
-rw-r--r--deploy_scripts/.DS_Storebin0 -> 6148 bytes
-rwxr-xr-xdeploy_scripts/deploy_boot.sh11
-rwxr-xr-xdeploy_scripts/deploy_heat.sh11
-rwxr-xr-xdeploy_scripts/deploy_vfw_scripts.sh11
-rwxr-xr-xdeploy_scripts/deploy_vlb_scripts.sh11
-rw-r--r--deploy_scripts/repo_config.txt4
6 files changed, 48 insertions, 0 deletions
diff --git a/deploy_scripts/.DS_Store b/deploy_scripts/.DS_Store
new file mode 100644
index 00000000..5008ddfc
--- /dev/null
+++ b/deploy_scripts/.DS_Store
Binary files differ
diff --git a/deploy_scripts/deploy_boot.sh b/deploy_scripts/deploy_boot.sh
new file mode 100755
index 00000000..fb256559
--- /dev/null
+++ b/deploy_scripts/deploy_boot.sh
@@ -0,0 +1,11 @@
+#!/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/deploy_scripts/deploy_heat.sh b/deploy_scripts/deploy_heat.sh
new file mode 100755
index 00000000..74a16201
--- /dev/null
+++ b/deploy_scripts/deploy_heat.sh
@@ -0,0 +1,11 @@
+#!/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/deploy_scripts/deploy_vfw_scripts.sh b/deploy_scripts/deploy_vfw_scripts.sh
new file mode 100755
index 00000000..49e7b019
--- /dev/null
+++ b/deploy_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/{}
+
diff --git a/deploy_scripts/deploy_vlb_scripts.sh b/deploy_scripts/deploy_vlb_scripts.sh
new file mode 100755
index 00000000..88c431f6
--- /dev/null
+++ b/deploy_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/{}
+
diff --git a/deploy_scripts/repo_config.txt b/deploy_scripts/repo_config.txt
new file mode 100644
index 00000000..8430dd41
--- /dev/null
+++ b/deploy_scripts/repo_config.txt
@@ -0,0 +1,4 @@
+REPO_URL=https://ecomp-nexus:8443/repository/raw
+REPO_USERNAME=
+REPO_PASSWORD=
+