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 4e6a2c4de update
4e6a2c4de is described below
commit 4e6a2c4de75140cabcb98209a117e7d790839de4
Author: casionone <[email protected]>
AuthorDate: Sun May 28 17:15:45 2023 +0800
update
---
linkis-dist/helm/scripts/install-ldh.sh | 4 ++--
linkis-dist/helm/scripts/install-mysql.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/linkis-dist/helm/scripts/install-ldh.sh
b/linkis-dist/helm/scripts/install-ldh.sh
index 7be4d3486..3ada87bef 100755
--- a/linkis-dist/helm/scripts/install-ldh.sh
+++ b/linkis-dist/helm/scripts/install-ldh.sh
@@ -26,7 +26,7 @@ LDH_VERSION=${LDH_VERSION-${LINKIS_IMAGE_TAG}}
echo "# LDH version: ${LINKIS_IMAGE_TAG}"
# load image
-if [ "X${USING_KIND}" == "Xtrue" ]; then
+if [[ "X${USING_KIND}" == "Xtrue" ]]; then
echo "# Loading LDH image ..."
kind load docker-image linkis-ldh:${LINKIS_IMAGE_TAG} --name
${KIND_CLUSTER_NAME}
fi
@@ -36,7 +36,7 @@ echo "# Deploying LDH ..."
set +e
x=`kubectl get ns ldh 2> /dev/null`
set -e
-if [ "X${x}" == "X" ]; then
+if [[ "X${x}" == "X" ]]; then
kubectl create ns ldh
fi
kubectl apply -n ldh -f ${RESOURCE_DIR}/ldh/configmaps
diff --git a/linkis-dist/helm/scripts/install-mysql.sh
b/linkis-dist/helm/scripts/install-mysql.sh
index 07e35678b..cf6cc450b 100755
--- a/linkis-dist/helm/scripts/install-mysql.sh
+++ b/linkis-dist/helm/scripts/install-mysql.sh
@@ -24,7 +24,7 @@ MYSQL_VERSION=${MYSQL_VERSION:-5.7}
set -e
# load image
-if [ "X${USING_KIND}" == "Xtrue" ]; then
+if [[ "X${USING_KIND}" == "Xtrue" ]]; then
echo "# Loading MySQL image ..."
kind load docker-image mysql:${MYSQL_VERSION} --name ${KIND_CLUSTER_NAME}
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]