[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'