63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
# grenaderc - Configuration
|
|
|
|
# Find the other rc files
|
|
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
|
|
|
|
# Base GIT Repo URL
|
|
# Another option is http://review.openstack.org/p
|
|
GIT_BASE=https://github.com
|
|
|
|
# Destination path for installation ``DEST``
|
|
DEST=/opt/stack
|
|
DATA_DIR=${DEST}/data
|
|
|
|
# Release info
|
|
BASE_RELEASE=folsom
|
|
TARGET_RELEASE=grizzly
|
|
|
|
# DevStack sources
|
|
BASE_DEVSTACK_REPO=$GIT_BASE/openstack-dev/devstack.git
|
|
BASE_DEVSTACK_BRANCH=stable/$BASE_RELEASE
|
|
BASE_DEVSTACK_DIR=$DEST/devstack.$BASE_RELEASE
|
|
|
|
TARGET_DEVSTACK_REPO=$BASE_DEVSTACK_REPO
|
|
TARGET_DEVSTACK_BRANCH=master
|
|
TARGET_DEVSTACK_DIR=$DEST/devstack.$TARGET_RELEASE
|
|
|
|
# Allow skipping the exercises
|
|
RUN_EXERCISES=True
|
|
BASE_RUN_EXERCISES=${RUN_EXERCISES:=True}
|
|
TARGET_RUN_EXERCISES=${RUN_EXERCISES:=True}
|
|
|
|
# Saved stuff
|
|
SAVE_DIR=$DEST/save
|
|
|
|
# Screen session name
|
|
SCREEN_NAME=${SCREEN_NAME:-stack}
|
|
|
|
# Logging
|
|
LOGFILE=$DEST/logs/grenade.sh.log
|
|
LOGDAYS=1
|
|
TIMESTAMP_FORMAT="%F-%H%M%S"
|
|
CURRENT_LOG_TIME=${CURRENT_LOG_TIME:-$(date "+$TIMESTAMP_FORMAT")}
|
|
SCREEN_LOGDIR=$DEST/logs/screen
|
|
|
|
# Project directories
|
|
GLANCECLIENT_DIR=$DEST/python-glanceclient
|
|
GLANCE_DIR=$DEST/glance
|
|
KEYSTONECLIENT_DIR=$DEST/python-keystoneclient
|
|
KEYSTONE_DIR=$DEST/keystone
|
|
NOVACLIENT_DIR=$DEST/python-novaclient
|
|
NOVA_DIR=$DEST/nova
|
|
|
|
# Allow local overrides of env variables
|
|
if [ -f $RC_DIR/localrc ]; then
|
|
source $RC_DIR/localrc
|
|
fi
|
|
|
|
|
|
# Defaults that use values from localrc go here
|
|
|
|
# We need RECLONE to get the updated branches; not everyone wants it though
|
|
RECLONE=${RECLONE:-no}
|