summaryrefslogtreecommitdiffstats
path: root/etc/conf/functest_config.yml
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-01 20:03:59 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-06 09:16:43 +0800
commitb25c1371f82911ea26b8c893b6612bb5ae0c8c19 (patch)
tree91190d32b9bb723670214b4d91e0bb95cccf5382 /etc/conf/functest_config.yml
parentc308b9a718b8b4fc5e781f8d2a6dbe714e381834 (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/functest_config.yml')
-rw-r--r--etc/conf/functest_config.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/conf/functest_config.yml b/etc/conf/functest_config.yml
new file mode 100644
index 00000000..896aeb95
--- /dev/null
+++ b/etc/conf/functest_config.yml
@@ -0,0 +1,18 @@
+---
+functest:
+ image_name: opnfv/functest-restapi
+ docker_tag: euphrates
+ opts: '-id --privileged=true'
+ config:
+ dir: '/home/opnfv/userconfig'
+ pre_condition:
+ - 'echo test for precondition in functest'
+ cmds:
+ - 'functest env prepare'
+ - 'functest testcase run {{validate_testcase}} -r'
+ post_condition:
+ - 'echo test for postcondition in functest'
+ result:
+ dir: '/home/opnfv/functest/results'
+ file_path: 'functest_results.txt'
+ openrc: '/home/opnfv/functest/conf/openstack.creds'