diff options
author | Linda Wang <wangwulin@huawei.com> | 2018-02-13 08:21:32 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2018-02-13 08:21:32 +0000 |
commit | 8247a629ca99c2562e3a01ab04f4a44d98a7cb12 (patch) | |
tree | 3ba130fef0dfe44b634e61d8531db33679b1146f | |
parent | e16e3939dcf8cc21323106a17ce4d0aec7d3b0e2 (diff) |
Fix functest k8s job
Change-Id: Ied442837e4e9fd25946590d3dbada6ff2cbe7fc3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
-rwxr-xr-x | jjb/functest/functest-k8.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/functest/functest-k8.sh b/jjb/functest/functest-k8.sh index 6df5c53b0..888aded81 100755 --- a/jjb/functest/functest-k8.sh +++ b/jjb/functest/functest-k8.sh @@ -11,12 +11,12 @@ rc_file=${HOME}/k8.creds sudo rm -rf $rc_file if [[ ${INSTALLER_TYPE} == 'compass' ]]; then - admin_conf_file_vol = "-v ${HOME}/admin.conf:/root/.kube/config" + admin_conf_file_vol="-v ${HOME}/admin.conf:/root/.kube/config" echo "export KUBECONFIG=/root/.kube/config" >> $rc_file echo "export KUBERNETES_PROVIDER=local" >> $rc_file - KUBE_MASTER_URL = $(cat ${HOME}/admin.conf|grep server| awk '{print $2}') + KUBE_MASTER_URL=$(cat ${HOME}/admin.conf|grep server| awk '{print $2}') echo "export KUBE_MASTER_URL=$KUBE_MASTER_URL" >> $rc_file - KUBE_MASTER_IP = $(echo $KUBE_MASTER_URL|awk -F'https://|:[0-9]+' '$0=$2') + KUBE_MASTER_IP=$(echo $KUBE_MASTER_URL|awk -F'https://|:[0-9]+' '$0=$2') echo "export KUBE_MASTER_IP=$KUBE_MASTER_IP" >> $rc_file else echo "Not supported by other installers yet" |