X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fdeploy.sh;h=1c95d4010faa0e330ffa14321f73c4fa103f60cb;hb=3b9772e79d5794422533034540ef3620aaf46d6f;hp=40abe67d73148e3a4deab22462603d0ce986a599;hpb=ac775fc516ffbc10a08bc1306d87b2798dac60ea;p=armband.git diff --git a/ci/deploy.sh b/ci/deploy.sh index 40abe67d..1c95d401 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -9,8 +9,12 @@ # set -e -cd $WORKSPACE -make submodules-clean submodules-init patches-import +SCRIPT_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]})) + +export ARMBAND_BASE=$(readlink -e ${SCRIPT_DIR}/..) + +cd ${WORKSPACE:-${ARMBAND_BASE}} +make patches-import # source local environment variables if ! [ -z $LAB_CONFIG_URL ]; then @@ -33,5 +37,6 @@ if ! [ -z $LAB_CONFIG_URL ]; then fi fi +unset SSH_KEY cd upstream/fuel/ci ./deploy.sh $@