[mk] Enable tempest tests on lab

- Execute tempest tests
- Copy output to configuration node

Change-Id: Ib7cc777d1b8724795094621859d4ebd7c143514a
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 6a2d7aa..55a021fd 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -33,6 +33,8 @@
  *   K8S_API_SERVER             Kubernetes API address
  *   K8S_CONFORMANCE_IMAGE      Path to docker image with conformance e2e tests
  *
+ *   TEMPEST_IMAGE_LINK         Tempest image link
+ *
  */
 
 git = new com.mirantis.mk.Git()
@@ -523,6 +525,16 @@
                 }
             }
 
+            if (TEST.toLowerCase().contains('openstack')) {
+                stage('Run OpenStack tests') {
+                    test.runTempestTests(saltMaster, TEMPEST_IMAGE_LINK)
+                }
+
+                stage('Copy Tempest results to config node') {
+                    test.copyTempestResults(saltMaster)
+                }
+            }
+
 
         } catch (Throwable e) {
             currentBuild.result = 'FAILURE'
diff --git a/mk-lab-pipeline.groovy b/mk-lab-pipeline.groovy
index a5f2eb4..9e9a28d 100644
--- a/mk-lab-pipeline.groovy
+++ b/mk-lab-pipeline.groovy
@@ -26,6 +26,8 @@
  *   K8S_API_SERVER             Kubernetes API address
  *   K8S_CONFORMANCE_IMAGE      Path to docker image with conformance e2e tests
  *
+ *   TEMPEST_IMAGE_LINK         Tempest image link
+ *
  *   INSTALL                    What should be installed (k8s, openstack, ...)
  *   TESTS                      Run tests (bool)
  */
@@ -141,11 +143,15 @@
             orchestrate.installOpenstackMkCompute(saltMaster)
         }
 
-        //if (TESTS.toLowerCase().contains('openstack')) {
-        //    stage('Run OpenStack tests') {
-        //        orchestrate...
-        //    }
-        //}
+        if (TESTS.toLowerCase().contains('openstack')) {
+            stage('Run OpenStack tests') {
+                test.runTempestTests(saltMaster, TEMPEST_IMAGE_LINK)
+            }
+
+            stage('Copy Tempest results to config node') {
+                test.copyTempestResults(saltMaster)
+            }
+        }
     }
 
     //