Move SYMLINK_DIR declaration to bootstrap-aio.sh

The gate-check-commit.sh script defined the SYMLINK_DIR variable, but it
was only used in bootstrap-aio.sh. This meant that using
bootstrap-aio.sh by itself would fail due to the undefined variable.

This change moves the declaration to boostrap-aio.sh so that an AIO can
be boostrapped without necessitating a gate check.

Change-Id: Id1b20379c5837cdd4b3df03de42f0ea612e3fbb5
Closes-Bug: #1434315
This commit is contained in:
Nolan Brubaker 2015-03-24 12:40:32 -04:00
parent 866409fa1e
commit ec2113f05c
2 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,7 @@ export NOVA_VIRT_TYPE=${NOVA_VIRT_TYPE:-"qemu"}
export TEMPEST_FLAT_CIDR=${TEMPEST_FLAT_CIDR:-"172.29.248.0/22"}
export FLUSH_IPTABLES=${FLUSH_IPTABLES:-"yes"}
export RABBITMQ_PACKAGE_URL=${RABBITMQ_PACKAGE_URL:-""}
export SYMLINK_DIR=${SYMLINK_DIR:-"$(pwd)/logs"}
# Default disabled fatal deprecation warnings
export CINDER_FATAL_DEPRECATIONS=${CINDER_FATAL_DEPRECATIONS:-"no"}

View File

@ -36,7 +36,6 @@ export DEPLOY_TEMPEST=${DEPLOY_TEMPEST:-"yes"}
export MAX_RETRIES=${MAX_RETRIES:-"1"}
# limit forks for gate check
export FORKS=${FORKS:-10}
export SYMLINK_DIR=${SYMLINK_DIR:-"$(pwd)/logs"}
# tempest and testr options, default is to run tempest in serial
export RUN_TEMPEST_OPTS=${RUN_TEMPEST_OPTS:-'--serial'}
export TESTR_OPTS=${TESTR_OPTS:-''}