summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-02-14 20:35:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-14 20:35:36 +0000
commit91fdca46210a711efd88fc8ebbf0fd1f65ea90c5 (patch)
treeb294fe35b4ba4b79a852d018e8fa189e1f699e31 /jjb
parentd68216e49d65ebbbb386d5e8906a51374c03b31a (diff)
parent8247a629ca99c2562e3a01ab04f4a44d98a7cb12 (diff)
Merge "Fix functest k8s job"
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/functest/functest-k8.sh6
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"