From 8247a629ca99c2562e3a01ab04f4a44d98a7cb12 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Tue, 13 Feb 2018 08:21:32 +0000 Subject: Fix functest k8s job Change-Id: Ied442837e4e9fd25946590d3dbada6ff2cbe7fc3 Signed-off-by: Linda Wang --- jjb/functest/functest-k8.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jjb') 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" -- cgit 1.2.3-korg