Fix default value of Base and Target release and dir

BASE_RELEASE and TARGET_RELEASE var are used for respective dir and
correct value for them is 'old' and 'new' which are nothing but the
dire for base and target devstack.

Also correct the default valeu for BASE_DEVSTACK_BRANCH which will be
updated on every cycle.

Change-Id: Ia2b50f3e48921f81fe12cd94347e1363b29681ea
This commit is contained in:
Ghanshyam Mann 2019-10-08 14:00:35 +00:00
parent 6f5638da9e
commit d217022533
1 changed files with 3 additions and 3 deletions

View File

@ -19,15 +19,15 @@ STACK_ROOT=${STACK_ROOT:-/opt/stack}
DATA_DIR=${STACK_ROOT}/data
# Release info
BASE_RELEASE=${BASE_RELEASE:-newton}
BASE_RELEASE=${BASE_RELEASE:-old}
BASE_RELEASE_DIR=${STACK_ROOT}/$BASE_RELEASE
TARGET_RELEASE=${TARGET_RELEASE:-ocata}
TARGET_RELEASE=${TARGET_RELEASE:-new}
TARGET_RELEASE_DIR=${STACK_ROOT}/$TARGET_RELEASE
# DevStack sources
BASE_DEVSTACK_REPO=$GIT_BASE/openstack-dev/devstack.git
BASE_DEVSTACK_BRANCH=${BASE_DEVSTACK_BRANCH:-stable/$BASE_RELEASE}
BASE_DEVSTACK_BRANCH=${BASE_DEVSTACK_BRANCH:-stable/train}
BASE_DEVSTACK_DIR=${BASE_DEVSTACK_DIR:-$BASE_RELEASE_DIR/devstack}
TARGET_DEVSTACK_REPO=$BASE_DEVSTACK_REPO