From a046b6052a340b24063be3dc851fa4bbb51d6c00 Mon Sep 17 00:00:00 2001 From: Jordan Pittier Date: Mon, 2 May 2016 11:59:52 +0200 Subject: [PATCH] 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 --- lib/tempest | 17 ----------------- stackrc | 4 ---- tests/test_libs_from_pypi.sh | 2 +- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/lib/tempest b/lib/tempest index 46dc1f8d42..6ba04f1680 100644 --- a/lib/tempest +++ b/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 } diff --git a/stackrc b/stackrc index 44aa79fbe6..4ba57c9cb6 100644 --- a/stackrc +++ b/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} - ############## # diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index f01db6df1d..a979c346b8 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -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"