summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Runner <gitlab-runner@greyhound.leap.se>2016-07-05 15:04:38 +0000
committerGitLab Runner <gitlab-runner@greyhound.leap.se>2016-07-05 15:04:38 +0000
commitc5c3e58c316f3bd3fd2bb294113139c161cfb187 (patch)
treee53db1ebe732484ff8aca4bf6189ec1b5c7f4669
parentdda2836ca6c588f990dab94861bb6e4fae5eb476 (diff)
fix platform and provider path
-rwxr-xr-xleap-platform-test6
1 files changed, 5 insertions, 1 deletions
diff --git a/leap-platform-test b/leap-platform-test
index 0d614dd..698731f 100755
--- a/leap-platform-test
+++ b/leap-platform-test
@@ -592,7 +592,7 @@ shift
# common config for all providers
-source ".platform-test.conf"
+source "./tests/puppet/provider/.platform-test.conf"
# custom user config
source ~/.config/leap/platform_ci/.platform-test.conf &> /dev/null || /bin/true
@@ -645,6 +645,10 @@ check_for_running_instances || exit $?
# set global lockfile
touch "$LOCKFILE"
+echo "@platform_directory_path = \"${ROOTDIR}\"" > ${PROVIDERDIR}/Leapfile
+echo "leap_platform is at: ${ROOTDIR}"
+echo "provider config is at: ${PROVIDERDIR}"
+
case $cmd in
add_nodes) add_nodes "$nodes";;
bootstrap) bootstrap_nodes "$nodes";;