From: davidplunkett Date: Wed, 1 Aug 2018 04:54:25 +0000 (-0400) Subject: use redfish tgz file from maven X-Git-Tag: 0.0.1~9 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F72%2F172%2F1;p=redfish.git use redfish tgz file from maven Change-Id: I906ad95148b88cb6817a9f801cae25a61b7a0fc1 Signed-off-by: davidplunkett --- diff --git a/buildrc b/buildrc index 0a59bac..1d80de4 100644 --- a/buildrc +++ b/buildrc @@ -18,8 +18,9 @@ # before executing the build scripts if they differ from the default values. # SET DEFAULT VALUES +export REDFISH_REPO=${REDFISH_REPO:-https://nexus.akraino.org/service/local/artifact/maven/redirect?r=snapshots&g=org.akraino.redfish&a=redfish&v=1.0.0-SNAPSHOT&e=tgz} + export IPXE_GIT=${IPXE_GIT:-http://git.ipxe.org/ipxe.git} -export REDFISH_GIT=${REDFISH_GIT:-http://gerrit.att-akraino.org/redfish.git} export DELL_GIT=${DELL_GIT:-https://github.com/dell/iDRAC-Redfish-Scripting.git} export IPXE_GIT=${IPXE_GIT:-http://git.ipxe.org/ipxe.git} diff --git a/setup_tools.sh b/setup_tools.sh index 90bc19f..ea8dfd7 100755 --- a/setup_tools.sh +++ b/setup_tools.sh @@ -71,8 +71,9 @@ fi ## DOWNLOAD TOOLS TO TOOLS_ROOT IF TOOLS FOLDER MISSING if [ ! -d "$TOOLS_ROOT" ]; then - echo "Cloning latest tools from [$REDFISH_GIT] to [$TOOLS_ROOT]" - git clone $REDFISH_GIT $TOOLS_ROOT + echo "Installing latest tools from [$REDFISH_REPO] to [$TOOLS_ROOT]" + mkdir -p $TOOLS_ROOT + curl -L $REDFISH_REPO | tar -xz -C $TOOLS_ROOT fi if [ ! -f "$TOOLS_ROOT/boot.ipxe.template" ]; then echo "ERROR: failed cloning tools from [$REDFISH_GIT] to [$TOOLS_ROOT]"