summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-05-18 09:34:02 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-05-22 11:35:12 +0000
commit7867b79675269c9e5c2eac9bf1b98d60a6f22bc6 (patch)
tree5c290f017bfe51f98c9780ee7d9771e66900951d
parent5a8f550165374e41da3531cfc7340c7fb7465fd8 (diff)
downloaddefinitions-7867b79675269c9e5c2eac9bf1b98d60a6f22bc6.tar.gz
Openstack: Clean up tempest installation
This patch installs the minimal set of files and folders required to run tempest. Change-Id: I111c4935befd7699fdb54c8876f7f2350ce391d9
-rw-r--r--strata/openstack-services/tempest.morph13
1 files changed, 7 insertions, 6 deletions
diff --git a/strata/openstack-services/tempest.morph b/strata/openstack-services/tempest.morph
index da42c929..cffb7d33 100644
--- a/strata/openstack-services/tempest.morph
+++ b/strata/openstack-services/tempest.morph
@@ -2,10 +2,11 @@ name: tempest
kind: chunk
build-system: python-distutils
post-install-commands:
+# Install files and folders required to run tempest
- mkdir -p "$DESTDIR"/etc/tempest
-
-# Tempest is not supposed to be installed, just cloned and used from the clone,
-# that's why we copy all the contents of the repository here, given that we
-# don't know yet what things we can avoid copying.
-- cp -R * "$DESTDIR"/etc/tempest
-- cp .testr.conf "$DESTDIR"/etc/tempest
+- cp -r tempest "$DESTDIR"/etc/tempest/
+- cp -r tools "$DESTDIR"/etc/tempest/
+- cp setup.py tox.ini "$DESTDIR"/etc/tempest/
+- cp run_tests.sh run_tempest.sh "$DESTDIR"/etc/tempest/
+- cp .testr.conf "$DESTDIR"/etc/tempest/
+- cp etc/logging.conf.sample "$DESTDIR"/etc/tempest/logging.conf