summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-19 20:05:31 -0500
committerplatania <platania@research.att.com>2017-02-19 20:05:31 -0500
commit79a6121d4996c499ef0fc67d8927c97940c69268 (patch)
treee38582fca72c5c1d3db8410a19f6332072b931c4
parent0360fe01c52b6ad1d6b096544dca1db73e598bc3 (diff)
Set env variable in deploy script
Change-Id: Iae509beb9339f8970e945bf13125afe20524f178 Signed-off-by: platania <platania@research.att.com>
-rwxr-xr-xscripts/deploy.sh12
-rw-r--r--vnfs/.DS_Storebin10244 -> 10244 bytes
-rw-r--r--vnfs/honeycomb_plugin/.DS_Storebin6148 -> 6148 bytes
3 files changed, 7 insertions, 5 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 696a7925..2a4efa47 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+set -x
+
########## Define parameters ##########
VERSION="1.0.0-SNAPSHOT"
@@ -17,21 +19,21 @@ REPO_URL="https://nexus.openecomp.org/content/sites/raw/content/sites/raw"
USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE")
NETRC=$(mktemp)
-echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "${NETRC}"
+echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "$NETRC"
#######################################
##### Upload scripts into Nexus raw repository #####
cd $PATH_TO_BOOT
-ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$BOOT_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -vkn --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$BOOT_GROUP_ID/$VERSION/{}
cd $PATH_TO_HEAT
-ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -vkn --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
cd $PATH_TO_VFW
-ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VFW_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -vkn --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VFW_GROUP_ID/$VERSION/{}
cd $PATH_TO_VLB
-ls | xargs -I{} curl -k --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -vkn --netrc-file '${NETRC}' --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
####################################################
########## Clean up ##########
diff --git a/vnfs/.DS_Store b/vnfs/.DS_Store
index d4eb784b..2f3daafe 100644
--- a/vnfs/.DS_Store
+++ b/vnfs/.DS_Store
Binary files differ
diff --git a/vnfs/honeycomb_plugin/.DS_Store b/vnfs/honeycomb_plugin/.DS_Store
index a33a0741..5bdc9e5a 100644
--- a/vnfs/honeycomb_plugin/.DS_Store
+++ b/vnfs/honeycomb_plugin/.DS_Store
Binary files differ