# 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 # Another option is https://github.com GIT_BASE=git://git.openstack.org #GIT_BASE=/opt/git # Destination path for installation ``STACK_ROOT`` STACK_ROOT=/opt/stack DATA_DIR=${STACK_ROOT}/data # Release info BASE_RELEASE=havana BASE_RELEASE_DIR=${STACK_ROOT}/$BASE_RELEASE TARGET_RELEASE=icehouse TARGET_RELEASE_DIR=${STACK_ROOT}/$TARGET_RELEASE # DevStack sources BASE_DEVSTACK_REPO=$GIT_BASE/openstack-dev/devstack.git BASE_DEVSTACK_BRANCH=stable/$BASE_RELEASE BASE_DEVSTACK_DIR=$BASE_RELEASE_DIR/devstack TARGET_DEVSTACK_REPO=$BASE_DEVSTACK_REPO TARGET_DEVSTACK_BRANCH=stable/$TARGET_RELEASE TARGET_DEVSTACK_DIR=$TARGET_RELEASE_DIR/devstack # Allow skipping smoke tests RUN_SMOKE=True # Saved stuff SAVE_DIR=${STACK_ROOT}/save # Screen session name SCREEN_NAME=${SCREEN_NAME:-stack} # Logging LOGFILE=${STACK_ROOT}/logs/grenade.sh.log LOGDAYS=1 TIMESTAMP_FORMAT="%F-%H%M%S" CURRENT_LOG_TIME=${CURRENT_LOG_TIME:-$(date "+$TIMESTAMP_FORMAT")} SCREEN_LOGDIR=${STACK_ROOT}/logs/screen # Project directories GLANCECLIENT_DIR=python-glanceclient GLANCE_DIR=glance KEYSTONECLIENT_DIR=python-keystoneclient KEYSTONE_DIR=keystone NOVACLIENT_DIR=python-novaclient NOVA_DIR=nova # Timeouts ACTIVE_TIMEOUT=120 SERVICE_TIMEOUT=120 # 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 # Enable tempest ENABLE_TEMPEST=${ENABLE_TEMPEST:=True} # We need RECLONE to get the updated branches; not everyone wants it though RECLONE=${RECLONE:-no} BASE_RUN_SMOKE=${RUN_SMOKE:=True} TARGET_RUN_SMOKE=${TARGET_RUN_SMOKE:-$BASE_RUN_SMOKE} # TODO(sdague): make these complete afterwards # The services we'd expect at each release BASE_SERVICES="nova-api nova-conductor nova-compute keystone glance-api cinder-api" TARGET_SERVICES="nova-api nova-conductor nova-compute keystone glance-api cinder-api" # Need this for global requirements REQUIREMENTS_DIR=$TARGET_RELEASE_DIR/requirements # Local variables: # mode: shell-script # End: