summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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