summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-28 07:29:23 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-28 07:29:23 +0100
commitd2365a4b71297e6c4dd0210a5a5678d830ad5537 (patch)
tree51bf06b949d8389efa1844c3662aa6a3c4cfed24
parent0a40eb1064c4321a300f41d1695732c22b349d9e (diff)
downloadbuildslave-scripts-d2365a4b71297e6c4dd0210a5a5678d830ad5537.tar.gz
Fix going up a directory in deploy triggers
-rw-r--r--triggers/deploy_trigger.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/triggers/deploy_trigger.sh b/triggers/deploy_trigger.sh
index a97aeec..8c43e6b 100644
--- a/triggers/deploy_trigger.sh
+++ b/triggers/deploy_trigger.sh
@@ -8,7 +8,6 @@ ARTEFACT="tlsa-ciat-test-x86_64_$BUILDNUMBER"
echo "[$(date "+%F %R")] Deploy triggered with system $SYSTEM." >> ../../../../trigger_log
sed "s/ARTEFACT/$ARTEFACT/" tlsa.morph > definitions/clusters/tlsa.morph
git checkout $BUILDSLAVE_SCRIPTS_SHA
-cd ..
if [ -d ybd-env ]; then
rm -rf ybd-env
fi
@@ -17,8 +16,6 @@ cd ybd-env
./bin/pip install pyyaml sandboxlib jsonschema requests
git clone -n https://github.com/devcurmudgeon/ybd.git
git --git-dir=./ybd/.git --work-tree=./ybd checkout 15.39
-pwd
-ls ..
cp ../deploy_logic.py .
cp ../deploy_a_system.sh .
cp ../ybd.conf ybd