Remove tempest-lib setup
Tempest-lib, as a standalone project, is deprecated in favor of a "lib/" directory inside Tempest's repo. So remove the installation of tempest-lib in DevStack. Change-Id: I507bfe875777fd25bbe5d67c861f3fca99faa22d
This commit is contained in:
parent
13b3be10a7
commit
a046b6052a
17
lib/tempest
17
lib/tempest
@ -45,8 +45,6 @@ set +o xtrace
|
||||
# --------
|
||||
|
||||
# Set up default directories
|
||||
GITDIR["tempest-lib"]=$DEST/tempest-lib
|
||||
|
||||
TEMPEST_DIR=$DEST/tempest
|
||||
TEMPEST_CONFIG_DIR=${TEMPEST_CONFIG_DIR:-$TEMPEST_DIR/etc}
|
||||
TEMPEST_CONFIG=$TEMPEST_CONFIG_DIR/tempest.conf
|
||||
@ -587,20 +585,6 @@ function configure_tempest {
|
||||
IFS=$ifs
|
||||
}
|
||||
|
||||
|
||||
# install_tempest_lib() - Collect source, prepare, and install ``tempest-lib``
|
||||
function install_tempest_lib {
|
||||
if use_library_from_git "tempest-lib"; then
|
||||
git_clone_by_name "tempest-lib"
|
||||
setup_dev_lib "tempest-lib"
|
||||
# NOTE(mtreinish) For testing ``tempest-lib`` from git with Tempest we need to
|
||||
# put the git version of ``tempest-lib`` in the Tempest job's tox venv
|
||||
export PIP_VIRTUAL_ENV=${PROJECT_VENV["tempest"]}
|
||||
setup_dev_lib "tempest-lib"
|
||||
unset PIP_VIRTUAL_ENV
|
||||
fi
|
||||
}
|
||||
|
||||
# install_tempest() - Collect source and prepare
|
||||
function install_tempest {
|
||||
git_clone $TEMPEST_REPO $TEMPEST_DIR $TEMPEST_BRANCH
|
||||
@ -612,7 +596,6 @@ function install_tempest {
|
||||
# running pip install -U on tempest requirements
|
||||
$TEMPEST_DIR/.tox/full/bin/pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
|
||||
PROJECT_VENV["tempest"]=${TEMPEST_DIR}/.tox/full
|
||||
install_tempest_lib
|
||||
popd
|
||||
}
|
||||
|
||||
|
4
stackrc
4
stackrc
@ -270,10 +270,6 @@ REQUIREMENTS_BRANCH=${REQUIREMENTS_BRANCH:-master}
|
||||
TEMPEST_REPO=${TEMPEST_REPO:-${GIT_BASE}/openstack/tempest.git}
|
||||
TEMPEST_BRANCH=${TEMPEST_BRANCH:-master}
|
||||
|
||||
# TODO(sdague): this should end up as a library component like below
|
||||
GITREPO["tempest-lib"]=${TEMPEST_LIB_REPO:-${GIT_BASE}/openstack/tempest-lib.git}
|
||||
GITBRANCH["tempest-lib"]=${TEMPEST_LIB_BRANCH:-master}
|
||||
|
||||
|
||||
##############
|
||||
#
|
||||
|
@ -31,7 +31,7 @@ done
|
||||
|
||||
ALL_LIBS="python-novaclient oslo.config pbr oslo.context"
|
||||
ALL_LIBS+=" python-keystoneclient taskflow oslo.middleware pycadf"
|
||||
ALL_LIBS+=" python-glanceclient python-ironicclient tempest-lib"
|
||||
ALL_LIBS+=" python-glanceclient python-ironicclient"
|
||||
ALL_LIBS+=" oslo.messaging oslo.log cliff python-heatclient stevedore"
|
||||
ALL_LIBS+=" python-cinderclient glance_store oslo.concurrency oslo.db"
|
||||
ALL_LIBS+=" oslo.versionedobjects oslo.vmware keystonemiddleware"
|
||||
|
Loading…
Reference in New Issue
Block a user