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 0642b819b update
0642b819b is described below

commit 0642b819bd034df07dd1ead90fcb6512d1a5476a
Author: casionone <[email protected]>
AuthorDate: Sun May 28 00:03:26 2023 +0800

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

diff --git a/linkis-dist/helm/scripts/install-linkis.sh 
b/linkis-dist/helm/scripts/install-linkis.sh
index e05d676b1..0c0e10f27 100755
--- a/linkis-dist/helm/scripts/install-linkis.sh
+++ b/linkis-dist/helm/scripts/install-linkis.sh
@@ -24,24 +24,18 @@ HELM_RELEASE_NAME=${2:-linkis-demo}
 LOCAL_MODE=${3:-true}
 USING_KIND=${4:-false}
 
-if [ "${HELM_DEBUG}" == "true" ]; 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 [ "${WITH_LDH}" == "true" ]; then
+
     kubectl apply -n ${KUBE_NAMESPACE} -f ${RESOURCE_DIR}/ldh/configmaps
-  fi
-  # load image
-  if [ "${USING_KIND}" == "true" ]; 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}
-  fi
-  # install helm charts
-  echo "# Installing linkis, image tag=${LINKIS_IMAGE_TAG},local 
mode=${LOCAL_MODE} ..."
-  helm install --create-namespace --namespace ${KUBE_NAMESPACE} \
-    -f ${LINKIS_CHART_DIR}/values.yaml \
-    --set 
image.tag=${LINKIS_IMAGE_TAG},linkis.featureGates.localMode=${LOCAL_MODE} \
-    ${HELM_RELEASE_NAME} ${LINKIS_CHART_DIR}
-fi
+
+    # install helm charts
+    echo "# Installing linkis, image tag=${LINKIS_IMAGE_TAG},local 
mode=${LOCAL_MODE} ..."
+    helm install --create-namespace --namespace ${KUBE_NAMESPACE} \
+      -f ${LINKIS_CHART_DIR}/values.yaml \
+      --set 
image.tag=${LINKIS_IMAGE_TAG},linkis.featureGates.localMode=${LOCAL_MODE} \
+      ${HELM_RELEASE_NAME} ${LINKIS_CHART_DIR}
+


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

Reply via email to