diff options
Diffstat (limited to 'dovetail/conf/yardstick_config.yml')
-rw-r--r-- | dovetail/conf/yardstick_config.yml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/dovetail/conf/yardstick_config.yml b/dovetail/conf/yardstick_config.yml index fea8cea7..bbb2133e 100644 --- a/dovetail/conf/yardstick_config.yml +++ b/dovetail/conf/yardstick_config.yml @@ -1,30 +1,20 @@ --- yardstick: image_name: opnfv/yardstick - docker_tag: danube.3.2 + docker_tag: opnfv-5.1.0 opts: '-id --privileged=true' 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" + - 'echo this is pre_condition' cmds: - 'mkdir -p /home/opnfv/yardstick/results/' - - "cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh && + - "cd /home/opnfv/repos/yardstick && source /etc/yardstick/openstack.creds && yardstick task start tests/opnfv/test_cases/{{validate_testcase}}.yaml --output-file /home/opnfv/yardstick/results/{{testcase}}.out --task-args '{'file': '/home/opnfv/userconfig/pre_config/pod.yaml'}'" post_condition: - - '' + - 'echo this is post_condition' result: dir: '/home/opnfv/yardstick/results' log: '/tmp/yardstick' |