diff options
author | xudan <xudan16@huawei.com> | 2019-11-13 03:32:24 -0500 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2019-11-19 10:57:03 +0000 |
commit | 88dee82da16683c7796036ae6e20a2d7c1f6b162 (patch) | |
tree | d82bb8ead2c4b8bdfe66d817e9159c90f1a6fb6a /etc/conf/functest-k8s_config.yml | |
parent | b88e2328f7960d88aa979d01ad6ba6f06519b899 (diff) |
Fix exception when running HA tests without pod.yaml
1. use volumes '-v' to map files/directories which may be non-existing
2. use mounts '--mount' to map files/directories which couldn't be non-existing
JIRA: DOVETAIL-789
Change-Id: I2184e5baed3d1491a2df4d3a1a77a11e3e9b4fc8
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'etc/conf/functest-k8s_config.yml')
-rw-r--r-- | etc/conf/functest-k8s_config.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/conf/functest-k8s_config.yml b/etc/conf/functest-k8s_config.yml index 52631673..a01f5715 100644 --- a/etc/conf/functest-k8s_config.yml +++ b/etc/conf/functest-k8s_config.yml @@ -33,9 +33,10 @@ functest-k8s: - 'CI_DEBUG={{debug}}' - 'BUILD_TAG={{build_tag}}-{{testcase}}' volumes: - - '{{dovetail_home}}/pre_config/k8.creds:{{openrc_file}}' - - '{{dovetail_home}}/pre_config/admin.conf:{{kube_file}}' - '{{dovetail_home}}/results/:{{result_dir}}' + mounts: + - 'source={{dovetail_home}}/pre_config/k8.creds,target={{openrc_file}}' + - 'source={{dovetail_home}}/pre_config/admin.conf,target={{kube_file}}' pre_condition: - 'echo test for precondition in functest' cmds: |