]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
teuthology-integration: run teuthology integration tests
authorLoic Dachary <ldachary@redhat.com>
Tue, 1 Dec 2015 21:29:54 +0000 (22:29 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 2 Dec 2015 12:14:35 +0000 (13:14 +0100)
Signed-off-by: Loic Dachary <loic@dachary.org>
suites/teuthology/integration.yaml [new file with mode: 0644]
tasks/teuthology_integration.py [new file with mode: 0644]

diff --git a/suites/teuthology/integration.yaml b/suites/teuthology/integration.yaml
new file mode 100644 (file)
index 0000000..8a7f1c7
--- /dev/null
@@ -0,0 +1,2 @@
+tasks:
+- teuthology_integration:
diff --git a/tasks/teuthology_integration.py b/tasks/teuthology_integration.py
new file mode 100644 (file)
index 0000000..b5a2278
--- /dev/null
@@ -0,0 +1,19 @@
+import logging
+from teuthology import misc
+from teuthology.task import Task
+
+log = logging.getLogger(__name__)
+
+
+class TeuthologyIntegration(Task):
+
+    def begin(self):
+        misc.sh("""
+        set -x
+        pip install tox
+        tox
+        # tox -e py27-integration
+        tox -e openstack-integration
+        """)
+
+task = TeuthologyIntegration