This is an automated email from the ASF dual-hosted git repository.

casion pushed a commit to branch dev-1.4.0-integration-test
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.4.0-integration-test by 
this push:
     new 235044015 update
235044015 is described below

commit 23504401552957a6a98c8c4fea7a38e9ce998f3e
Author: casionone <[email protected]>
AuthorDate: Sun May 28 17:34:53 2023 +0800

    update
---
 linkis-dist/helm/scripts/install-linkis.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/linkis-dist/helm/scripts/install-linkis.sh 
b/linkis-dist/helm/scripts/install-linkis.sh
index 2abf12a0d..c474f0276 100755
--- a/linkis-dist/helm/scripts/install-linkis.sh
+++ b/linkis-dist/helm/scripts/install-linkis.sh
@@ -24,16 +24,16 @@ HELM_RELEASE_NAME=${2:-linkis-demo}
 LOCAL_MODE=${3:-true}
 USING_KIND=${4:-false}
 
-if [ "X${HELM_DEBUG}" == "Xtrue" ]; then
+if [[ "X${HELM_DEBUG}" == "Xtrue" ]]; then
   # template helm charts
   helm template --namespace ${KUBE_NAMESPACE} -f 
${LINKIS_CHART_DIR}/values.yaml ${HELM_RELEASE_NAME} ${LINKIS_CHART_DIR}
 else
   # create hadoop configs
-  if [ "X${WITH_LDH}" == "Xtrue" ]; then
+  if [[ "X${WITH_LDH}" == "Xtrue" ]]; then
     kubectl apply -n ${KUBE_NAMESPACE} -f ${RESOURCE_DIR}/ldh/configmaps
   fi
   # load image
-  if [ "X${USING_KIND}" == "Xtrue" ]; then
+  if [[ "X${USING_KIND}" == "Xtrue" ]]; then
     echo "# Loading Linkis image ..."
     kind load docker-image linkis:${LINKIS_IMAGE_TAG} --name 
${KIND_CLUSTER_NAME}
     kind load docker-image linkis-web:${LINKIS_IMAGE_TAG} --name 
${KIND_CLUSTER_NAME}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to