diff options
author | Linda Wang <wangwulin@huawei.com> | 2018-02-28 02:01:25 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2018-02-28 02:01:25 +0000 |
commit | 23bf5c7e8ce3f7212abc5d9c628284c1f092a0d5 (patch) | |
tree | 20703f0ef292141f621e3c7433ce7febe3850db6 /jjb | |
parent | 146464fc62732f55904b74e5a2327fd2f257114f (diff) |
[Functest] Run k8s tests on Joid
Change-Id: I43ba42b2181b7f89a3f551a12eed4ab42d89cbee
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/functest/functest-k8.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/functest/functest-k8.sh b/jjb/functest/functest-k8.sh index 888aded81..7c5308d5f 100755 --- a/jjb/functest/functest-k8.sh +++ b/jjb/functest/functest-k8.sh @@ -18,6 +18,9 @@ if [[ ${INSTALLER_TYPE} == 'compass' ]]; then echo "export KUBE_MASTER_URL=$KUBE_MASTER_URL" >> $rc_file KUBE_MASTER_IP=$(echo $KUBE_MASTER_URL|awk -F'https://|:[0-9]+' '$0=$2') echo "export KUBE_MASTER_IP=$KUBE_MASTER_IP" >> $rc_file +elif [[ ${INSTALLER_TYPE} == 'joid' && ${BRANCH} == 'master' ]]; then + admin_conf_file_vol="-v ${HOME}/joid_config/config:/root/joid_config/config" + rc_file=${HOME}/joid_config/k8config else echo "Not supported by other installers yet" exit 1 |