diff options
author | xudan <xudan16@huawei.com> | 2017-02-17 09:49:16 +0000 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2017-02-17 09:58:43 +0000 |
commit | 68588d411dd58c67f3bca1130840269f26a26a00 (patch) | |
tree | 17b63a4e785bbd8cebedfb6cb4642416521f077e /dovetail/conf/functest_config.yml | |
parent | 29500fcfd71ae240dd9258378328483f02f916eb (diff) |
dovetail tool: change the way to get the functest result file
Functest has changed it's way to generate the local result file.
see Gerrit: https://gerrit.opnfv.org/gerrit/#/c/28513/
Dovetail needs to do some adaptions to fit this change.
JIRA: DOVETAIL-350
Change-Id: I681f74832f582f26c8874f7d2726c8588f430612
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/conf/functest_config.yml')
-rw-r--r-- | dovetail/conf/functest_config.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dovetail/conf/functest_config.yml b/dovetail/conf/functest_config.yml index 2c702cdb..7182b27d 100644 --- a/dovetail/conf/functest_config.yml +++ b/dovetail/conf/functest_config.yml @@ -4,7 +4,7 @@ functest: docker_tag: latest envs: '-e INSTALLER_TYPE=compass -e INSTALLER_IP=192.168.200.2 -e NODE_NAME=dovetail-pod -e DEPLOY_SCENARIO=ha_nosdn - -e BUILD_TAG=dovetail -e CI_DEBUG=true + -e BUILD_TAG=daily-dovetail-001 -e CI_DEBUG=true -e DEPLOY_TYPE=baremetal -e RESULTS_STORE=file:///home/opnfv/functest/results/functest_result.json' opts: '-id --privileged=true' @@ -12,7 +12,10 @@ functest: - 'echo test for precondition in functest' cmds: - 'functest env prepare' + - '[ -f /home/opnfv/functest/results/functest_result.json ] && cp /home/opnfv/functest/results/functest_result.json /home/opnfv/functest/functest_result.json || true' + - sed -i 's/http:\/\/testresults.opnfv.org\/test\/api\/v1/file:\/\/\/home\/opnfv\/functest\/results\/functest_result.json/g' /home/opnfv/repos/functest/functest/ci/config_functest.yaml - 'functest testcase run {{validate_testcase}} -r' + - 'cp /home/opnfv/functest/functest_result.json /home/opnfv/functest/results/functest_result.json' post_condition: - 'echo test for postcondition in functest' result: |