From 4a7cd7063f4718490e22684dc50ca0d05ab98f29 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Mon, 9 Nov 2015 10:54:50 +0000 Subject: [PATCH] We now have a logs publisher We need to create a directory to allow publishing of logs. Change-Id: Ieeac5d236b698bedaccb8b5f0bb16f0de9df9386 Backport: Liberty Partially-Implements: blueprint multinode-gate --- tests/setup_gate.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh index 5fdc62ec79..7919f4ae95 100755 --- a/tests/setup_gate.sh +++ b/tests/setup_gate.sh @@ -18,5 +18,10 @@ if [[ ! -f /etc/sudoers.d/jenkins ]]; then echo "jenkins ALL=(:docker) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/jenkins fi +# This creates a logs directory for the devstack logs publisher +mkdir logs +# We symlink the logs dir to a known location +ln -s $(pwd)/logs /tmp/logs + distro=$(awk -F'[="]'+ '/^ID/ {print tolower($2); exit}' /etc/*-release) exec tests/setup_${distro}.sh