summaryrefslogtreecommitdiffstats
path: root/dovetail/conf/yardstick_config.yml
diff options
context:
space:
mode:
authorLeo wang <grakiss.wanglei@huawei.com>2017-09-08 01:40:16 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-08 01:40:16 +0000
commit38407258e849fe630a1443fb71181b1b2b27ee90 (patch)
tree027522659f0dd9e5bd7dba8ebc57f65b962b49a9 /dovetail/conf/yardstick_config.yml
parent0c0e4109cdae9dde8346b92f694e272beb52fae7 (diff)
parent45b1f1841b35fd8771e2aa154b2f4a5af776bd46 (diff)
Merge "Add a patch to set ha SLA to be 30 seconds"
Diffstat (limited to 'dovetail/conf/yardstick_config.yml')
-rw-r--r--dovetail/conf/yardstick_config.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/dovetail/conf/yardstick_config.yml b/dovetail/conf/yardstick_config.yml
index 62a4abf9..f49d044d 100644
--- a/dovetail/conf/yardstick_config.yml
+++ b/dovetail/conf/yardstick_config.yml
@@ -6,11 +6,17 @@ yardstick:
config:
dir: '/home/opnfv/userconfig'
pre_condition:
- - ''
# - 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
# source tests/ci/clean_images.sh && cleanup'
# - 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
# source tests/ci/load_images.sh'
+ # Copy Yardstick bugfix patches to Yardstick repository
+ - "cp -r /home/opnfv/userconfig/patch/ /home/opnfv/repos/yardstick/"
+ # Config git user info for applying bugfix patches
+ - "cd /home/opnfv/repos/yardstick && git config --global user.email 'you@example.com'"
+ - "cd /home/opnfv/repos/yardstick && git config --global user.name 'Your Name'"
+ # Apply all bugfix patchs on tempest code
+ - "cd /home/opnfv/repos/yardstick && git am ./patch/*.patch"
cmds:
- 'mkdir -p /home/opnfv/yardstick/results/'
- "cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&