aboutsummaryrefslogtreecommitdiffstats
path: root/deploy_scripts
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-16 11:20:22 -0500
committerplatania <platania@research.att.com>2017-02-16 11:20:47 -0500
commit3426556541256f93d2cba65df3b9c8d1d1772861 (patch)
tree56e5b26481400d35e3e2e36be20df953793e348d /deploy_scripts
parentf525cb9014ae27ddd795f933dee54a78b214a589 (diff)
Initial OpenECOMP Demo commit
Change-Id: Ibf8696196a7ac2c84ac8aa7cde1982c9c89fb64d Signed-off-by: platania <platania@research.att.com>
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=
+