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 7c689037c update
7c689037c is described below
commit 7c689037c58dba00326c00fdeb3170a524884bc1
Author: casionone <[email protected]>
AuthorDate: Sun May 28 18:05:45 2023 +0800
update
---
.github/workflows/integration-test.yml | 16 +++++++++++++++-
linkis-dist/helm/scripts/install-charts-with-ldh.sh | 2 +-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/integration-test.yml
b/.github/workflows/integration-test.yml
index b4a75fa83..79fed247c 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -111,7 +111,7 @@ jobs:
config: ${{ env.KIND_CONFIG_PATH }}
node_image: ${{ matrix.kubernetes-version }}
cluster_name: ${{ env.KIND_CLUSTER_NAME }}
- - name: Install Shell
+ - name: Start Linkis Service
run: |
ROOT_DIR=./linkis-dist/
MIRRORS="ghcr.io"
@@ -133,3 +133,17 @@ jobs:
sleep 5
done
shell: bash
+
+ - name: Linkis-Cli Test
+ run: |
+ # 进入容器
+ bash ./linkis-dist/helm/scripts/login-pod.sh cg-engineconnmanager
+ # 执行shell测试
+ bash ./bin/linkis-cli -engineType shell-1 -codeType shell -code
"echo "hello" " -submitUser hadoop -proxyUser hadoop
+ #执行hive测试
+ bash ./bin/linkis-cli -engineType hive-2.3.3 -codeType hql -code
"show tables" -submitUser hadoop -proxyUser hadoop
+ #执行spark测试
+ bash ./bin/linkis-cli -engineType spark-2.4.3 -codeType sql -code
"show tables" -submitUser hadoop -proxyUser hadoop
+ #执行python测试
+ bash ./bin/linkis-cli -engineType python-python2 -codeType python
-code "print(\"hello\")" -submitUser hadoop -proxyUser hadoop -confMap
python.version=python
+ shell: bash
\ No newline at end of file
diff --git a/linkis-dist/helm/scripts/install-charts-with-ldh.sh
b/linkis-dist/helm/scripts/install-charts-with-ldh.sh
index 085e2b528..f119cbb8f 100755
--- a/linkis-dist/helm/scripts/install-charts-with-ldh.sh
+++ b/linkis-dist/helm/scripts/install-charts-with-ldh.sh
@@ -22,7 +22,7 @@ WORK_DIR=`cd $(dirname $0); pwd -P`
KUBE_NAMESPACE=${1:-linkis}
HELM_RELEASE_NAME=${2:-linkis-demo}
USING_KIND=${3:-false}
-
+# use bash fix "[[ : not found"
bash ${WORK_DIR}/install-linkis.sh ${KUBE_NAMESPACE} ${HELM_RELEASE_NAME}
false ${USING_KIND}
kubectl apply -n ${KUBE_NAMESPACE} -f ${RESOURCE_DIR}/ldh/configmaps
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]