summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-07-29 00:24:04 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-01 20:06:16 +0200
commitc5bfbf1f4bababbbf885414d0c6bdd9f01cae900 (patch)
tree9867236392f739624feaadbc62b49e1d4103a69c /ci/deploy.sh
parente598628cf9603a3484d574ab5cb0c99311e2ddff (diff)
p/fuel: Rebase, drop upstream clone
Now that Fuel@OPNFV supports submodule patching again, bring back `make fuel-patches-import`. Change-Id: Ic6f9870d94b6d302f1ebcdc21d54a83f62910af9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index c1006f08..1c95d401 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -9,7 +9,11 @@
#
set -e
-cd $WORKSPACE
+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