aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy.sh6
-rwxr-xr-xscripts/deploy_boot.sh11
-rwxr-xr-xscripts/deploy_heat.sh11
-rwxr-xr-xscripts/deploy_vfw_scripts.sh11
-rwxr-xr-xscripts/deploy_vlb_scripts.sh11
5 files changed, 5 insertions, 45 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 3cfe1945..e1c0bbba 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -1,7 +1,7 @@
#!/bin/bash
########## Define parameters ##########
-VERSION="1.0.0"
+VERSION="1.0.0-SNAPSHOT"
PATH_TO_BOOT="../boot"
PATH_TO_HEAT="../heat"
@@ -34,3 +34,7 @@ ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VFW_
cd $PATH_TO_VLB
ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
####################################################
+
+########## Clean up ##########
+rm ${NETRC}
+##############################
diff --git a/scripts/deploy_boot.sh b/scripts/deploy_boot.sh
deleted file mode 100755
index fb256559..00000000
--- a/scripts/deploy_boot.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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/scripts/deploy_heat.sh b/scripts/deploy_heat.sh
deleted file mode 100755
index 74a16201..00000000
--- a/scripts/deploy_heat.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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/scripts/deploy_vfw_scripts.sh b/scripts/deploy_vfw_scripts.sh
deleted file mode 100755
index 49e7b019..00000000
--- a/scripts/deploy_vfw_scripts.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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/scripts/deploy_vlb_scripts.sh b/scripts/deploy_vlb_scripts.sh
deleted file mode 100755
index 88c431f6..00000000
--- a/scripts/deploy_vlb_scripts.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/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/{}
-