[CVP] Switch to Map for runContainer method and use mounts argument
Change-Id: I1df7b77f10279995da948ef04b9b3b5d4b023be8
Related-PROD: PROD-28333
Related-PROD: PROD-29620
diff --git a/cvp-tempest.groovy b/cvp-tempest.groovy
index c6fca0a..c54c58e 100644
--- a/cvp-tempest.groovy
+++ b/cvp-tempest.groovy
@@ -127,9 +127,9 @@
}
stage('Run Tempest tests') {
- // parameters: master, target, dockerImageLink, name, env_var, entrypoint, tempestConfLocalPath
- validate.runContainer(saltMaster, TARGET_NODE, TEST_IMAGE, 'cvp', [], true,
- '/root/test/tempest_generated.conf')
+ mounts = ['/root/test/tempest_generated.conf': '/etc/tempest/tempest.conf']
+ validate.runContainer(master: saltMaster, target: TARGET_NODE, dockerImageLink: TEST_IMAGE,
+ mounts: mounts)
report_prefix += 'tempest_'
if (env.concurrency) {
args += ' -w ' + env.concurrency