Browse code

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

Jordan Pittier authored on 2016/05/02 18:59:52
Showing 3 changed files
... ...
@@ -45,8 +45,6 @@ set +o xtrace
45 45
 # --------
46 46
 
47 47
 # Set up default directories
48
-GITDIR["tempest-lib"]=$DEST/tempest-lib
49
-
50 48
 TEMPEST_DIR=$DEST/tempest
51 49
 TEMPEST_CONFIG_DIR=${TEMPEST_CONFIG_DIR:-$TEMPEST_DIR/etc}
52 50
 TEMPEST_CONFIG=$TEMPEST_CONFIG_DIR/tempest.conf
... ...
@@ -587,20 +585,6 @@ function configure_tempest {
587 587
     IFS=$ifs
588 588
 }
589 589
 
590
-
591
-# install_tempest_lib() - Collect source, prepare, and install ``tempest-lib``
592
-function install_tempest_lib {
593
-    if use_library_from_git "tempest-lib"; then
594
-        git_clone_by_name "tempest-lib"
595
-        setup_dev_lib "tempest-lib"
596
-        # NOTE(mtreinish) For testing ``tempest-lib`` from git with Tempest we need to
597
-        # put the git version of ``tempest-lib`` in the Tempest job's tox venv
598
-        export PIP_VIRTUAL_ENV=${PROJECT_VENV["tempest"]}
599
-        setup_dev_lib "tempest-lib"
600
-        unset PIP_VIRTUAL_ENV
601
-    fi
602
-}
603
-
604 590
 # install_tempest() - Collect source and prepare
605 591
 function install_tempest {
606 592
     git_clone $TEMPEST_REPO $TEMPEST_DIR $TEMPEST_BRANCH
... ...
@@ -612,7 +596,6 @@ function install_tempest {
612 612
     # running pip install -U on tempest requirements
613 613
     $TEMPEST_DIR/.tox/full/bin/pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
614 614
     PROJECT_VENV["tempest"]=${TEMPEST_DIR}/.tox/full
615
-    install_tempest_lib
616 615
     popd
617 616
 }
618 617
 
... ...
@@ -270,10 +270,6 @@ REQUIREMENTS_BRANCH=${REQUIREMENTS_BRANCH:-master}
270 270
 TEMPEST_REPO=${TEMPEST_REPO:-${GIT_BASE}/openstack/tempest.git}
271 271
 TEMPEST_BRANCH=${TEMPEST_BRANCH:-master}
272 272
 
273
-# TODO(sdague): this should end up as a library component like below
274
-GITREPO["tempest-lib"]=${TEMPEST_LIB_REPO:-${GIT_BASE}/openstack/tempest-lib.git}
275
-GITBRANCH["tempest-lib"]=${TEMPEST_LIB_BRANCH:-master}
276
-
277 273
 
278 274
 ##############
279 275
 #
... ...
@@ -31,7 +31,7 @@ done
31 31
 
32 32
 ALL_LIBS="python-novaclient oslo.config pbr oslo.context"
33 33
 ALL_LIBS+=" python-keystoneclient taskflow oslo.middleware pycadf"
34
-ALL_LIBS+=" python-glanceclient python-ironicclient tempest-lib"
34
+ALL_LIBS+=" python-glanceclient python-ironicclient"
35 35
 ALL_LIBS+=" oslo.messaging oslo.log cliff python-heatclient stevedore"
36 36
 ALL_LIBS+=" python-cinderclient glance_store oslo.concurrency oslo.db"
37 37
 ALL_LIBS+=" oslo.versionedobjects oslo.vmware keystonemiddleware"