diff options
author | varac <varacanero@zeromail.org> | 2016-10-11 10:58:23 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-10-18 21:17:13 +0200 |
commit | 3d0aa5a22ca34a8bc4f97b9321e8f3a61cab439a (patch) | |
tree | c9029b507f83f98c688ca7dab638184bb335108c | |
parent | 0bafc5e17a465969673e6807d3e6e7d7668ec481 (diff) |
Lint ci-build.sh
-rwxr-xr-x | tests/platform-ci/ci-build.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh index 63699e02..a156f314 100755 --- a/tests/platform-ci/ci-build.sh +++ b/tests/platform-ci/ci-build.sh @@ -12,13 +12,17 @@ # # leap_platform/tests/platform-ci -export ROOTDIR=$(readlink -f "$(dirname $0)") +export ROOTDIR +# shellcheck disable=SC2086 +ROOTDIR=$(readlink -f "$(dirname $0)") # leap_platform/tests/platform-ci/provider -export PROVIDERDIR="${ROOTDIR}/provider" +export PROVIDERDIR +PROVIDERDIR="${ROOTDIR}/provider" # leap_platform -export PLATFORMDIR=$(readlink -f "${ROOTDIR}/../..") +export PLATFORMDIR +PLATFORMDIR=$(readlink -f "${ROOTDIR}/../..") # leap_platform/builds export BUILDSDIR="${PLATFORMDIR}/builds" @@ -49,6 +53,6 @@ leap-platform-test add_nodes "$NODES" leap-platform-test -v init_deploy leap-platform-test -v test -cd $PROVIDERDIR +cd "$PROVIDERDIR" $LEAP_CMD info "${TAG}" $LEAP_CMD local destroy "${TAG}" |