diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-01 20:03:59 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-06 09:16:43 +0800 |
commit | b25c1371f82911ea26b8c893b6612bb5ae0c8c19 (patch) | |
tree | 91190d32b9bb723670214b4d91e0bb95cccf5382 /etc/conf/yardstick_config.yml | |
parent | c308b9a718b8b4fc5e781f8d2a6dbe714e381834 (diff) |
leverage data_files to eliminate so many hardcoded abs_path_seekings
1. mv conf/ userconfig/ compliance/ patch to etc/
2. after installation etc/ will be put under /etc/dovetail
3. leveraging /etc/dovetail in coding
Change-Id: Icf9cb00ff7fc7cf35755f60d3e258b23e2c70839
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'etc/conf/yardstick_config.yml')
-rw-r--r-- | etc/conf/yardstick_config.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/conf/yardstick_config.yml b/etc/conf/yardstick_config.yml new file mode 100644 index 00000000..bbb2133e --- /dev/null +++ b/etc/conf/yardstick_config.yml @@ -0,0 +1,26 @@ +--- +yardstick: + image_name: opnfv/yardstick + docker_tag: opnfv-5.1.0 + opts: '-id --privileged=true' + config: + dir: '/home/opnfv/userconfig' + pre_condition: + - 'echo this is pre_condition' + cmds: + - 'mkdir -p /home/opnfv/yardstick/results/' + - "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' + file_path: 'yardstick.log' + key_path: '/root/.ssh/id_rsa' + openrc: '/etc/yardstick/openstack.creds' + yard_conf: + src_file: '/home/opnfv/repos/yardstick/etc/yardstick/yardstick.conf.sample' + dest_file: '/etc/yardstick/yardstick.conf' |