Tiny improvement in paths
This patch allows to run devstack-vm-gate-wrap.sh outside $WORKSPACE directory. Without this patch script fails with error that logs/* paths are not found. Change-Id: Ia6d0723fd8dc5dde60fba76783678053069a0a86
This commit is contained in:
@@ -87,8 +87,8 @@ if [ -z "$SKIP_DEVSTACK_GATE_PROJECT" ]; then
|
||||
fi
|
||||
|
||||
# Make a directory to store logs
|
||||
rm -rf logs
|
||||
mkdir -p logs
|
||||
rm -rf $WORKSPACE/logs
|
||||
mkdir -p $WORKSPACE/logs
|
||||
|
||||
# Set to 1 to run the Tempest test suite
|
||||
export DEVSTACK_GATE_TEMPEST=${DEVSTACK_GATE_TEMPEST:-0}
|
||||
|
||||
@@ -293,7 +293,7 @@ function setup_host {
|
||||
sudo start rsyslog
|
||||
|
||||
# We set some home directories under $BASE, make sure it exists.
|
||||
sudo mkdir $BASE
|
||||
sudo mkdir -p $BASE
|
||||
# Create a stack user for devstack to run as, so that we can
|
||||
# revoke sudo permissions from that user when appropriate.
|
||||
sudo useradd -U -s /bin/bash -d $BASE/new -m stack
|
||||
|
||||
Reference in New Issue
Block a user